diff --git a/mkspecs/features/common_post.prf b/mkspecs/features/common_post.prf index 1734e1860..ab273543d 100644 --- a/mkspecs/features/common_post.prf +++ b/mkspecs/features/common_post.prf @@ -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 ################################