diff --git a/configure b/configure index cea62fbc0c46ae54938df282fffbbfde5bf794d6..c29c113da31414a4524a1cf6b07d6cbb7ede06a3 100755 --- a/configure +++ b/configure @@ -2557,7 +2557,9 @@ Additional options: -l <string> ........ Add an explicit library. -no-rpath .......... Do not use the library install path as a runtime - library path. + library path. On Apple platforms, this implies using + absolute install names (based in -libdir) for dynamic + libraries and frameworks. + -rpath ............. Link Qt libraries and executables using the library install path as a runtime library path. Equivalent to -R install_libpath diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index c89b6d2793bcaef69102c51c4433b304bf6fb769..f187b85b6dd6ef783dd6e41df36a565ee04fbfbf 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -135,6 +135,8 @@ mac { contains(QT_CONFIG, rpath): \ QMAKE_SONAME_PREFIX = @rpath + else: \ + CONFIG += absolute_library_soname } DEFINES += QT_BUILDING_QT