diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2014-12-30 13:04:39 +0100 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2014-12-30 20:22:08 +0100 |
commit | ca59365656e5af6faa5450ed9b33083828b52083 (patch) | |
tree | 32c49dc07a80c37b1853d0d4917a4fad38149161 /src | |
parent | 7ec14ae0b267780d6bfa5c7453c906caeee3bc00 (diff) |
Enable ELF .interp section on Hurd
The toolchain is basically the same as on Linux, so we can get the
program interpreter and print the build information when Qt5Core.so
is run.
Change-Id: I02a910e691622e24e882015716c5f74dd5a20c4a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/global.pri | 2 |
1 files changed, 1 insertions, 1 deletions
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\')\\\" |