Workaround for GCC 7 ignoring RPATH for transitive dependencies

This commit is contained in:
Mat Sutcliffe
2021-04-05 13:52:09 +01:00
parent 08ac24f0ea
commit 9f67e1bbc2

View File

@@ -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
################################