mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
Workaround for GCC 7 ignoring RPATH for transitive dependencies
This commit is contained in:
@@ -25,6 +25,13 @@ equals (TEMPLATE, app) {
|
||||
else:unix: QMAKE_LFLAGS *= '-Wl,-rpath,\'\$$ORIGIN/../lib\''
|
||||
}
|
||||
|
||||
################################
|
||||
# Work around ignored rpath for transitive dependencies
|
||||
# https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/comments/4
|
||||
################################
|
||||
|
||||
linux: QMAKE_LFLAGS += -Wl,--disable-new-dtags
|
||||
|
||||
################################
|
||||
# Copy data files to build dir
|
||||
################################
|
||||
|
||||
Reference in New Issue
Block a user