diff --git a/src/corelib/global/global.pri b/src/corelib/global/global.pri index fb0e7fd708..86621364ec 100644 --- a/src/corelib/global/global.pri +++ b/src/corelib/global/global.pri @@ -35,7 +35,7 @@ INCLUDEPATH += $$QT_BUILD_TREE/src/corelib/global # Only used on platforms with CONFIG += precompile_header PRECOMPILED_HEADER = global/qt_pch.h -linux*:!cross_compile:!static:!*-armcc* { +if(linux*|hurd*):!cross_compile:!static:!*-armcc* { QMAKE_LFLAGS += -Wl,-e,qt_core_boilerplate prog=$$quote(if (/program interpreter: (.*)]/) { print $1; }) DEFINES += ELF_INTERPRETER=\\\"$$system(readelf -l /bin/ls | perl -n -e \'$$prog\')\\\"