qt5base-lts/mkspecs
Martin Afanasjew 6c222297ab Make -no-rpath build more useful on Apple platforms
[ChangeLog][Platform Specific Changes][OS X] Configure with -no-rpath
will now yield Qt dynamic libraries and frameworks with an absolute
install name (based in -libdir).

OS X package managers like Homebrew install Qt in a fixed location. This
change simplifies deployment for such package managers and is consistent
with the default expectation on Apple platforms for libraries with a
fixed location to also have absolute install names.

While a relocatable installation (the default) also works in this
scenario, it requires all software that depends on Qt to be aware of
this and to embed a suitable RPATH into application binaries (which is
not automatic for non-qmake builds). This might not be true for some
select fallback search locations, but as package managers on OS X tend
not to use those, embedding an RPATH becomes practically mandatory. In a
default Homebrew installation, Qt is configured such that the frameworks
end up in /usr/local/Cellar/qt5/<version>/lib and that will be later
symlinked to /usr/local/opt/qt5/lib, both of which are not searched by
the dynamic linker by default.

Task-number: QTBUG-48958
Change-Id: I4395df98771e06a2ce8a293d11dc755bdc50757f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-11-30 20:36:12 +00:00
..
aix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
aix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
android-g++ Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
blackberry-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
blackberry-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
common Use /Zc:throwingNew by default with MSVC 2015 2015-08-10 20:22:01 +00:00
cygwin-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
darwin-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
devices Purge default locations from commonly used device makespecs 2015-05-13 11:23:25 +00:00
features Make -no-rpath build more useful on Apple platforms 2015-11-30 20:36:12 +00:00
freebsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-g++46 Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-icc Update copyright headers 2015-02-11 06:49:51 +00:00
haiku-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-o64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hurd-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
irix-cc Update copyright headers 2015-02-11 06:49:51 +00:00
irix-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-arm-gnueabi-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang-libc++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
linux-icc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-kcc Update copyright headers 2015-02-11 06:49:51 +00:00
linux-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
linux-lsb-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-pgcc Update copyright headers 2015-02-11 06:49:51 +00:00
lynxos-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++40 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++42 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-icc Update copyright headers 2015-02-11 06:49:51 +00:00
macx-ios-clang iOS: ensure we don't overwrite a projects qmake variables 2015-07-28 11:02:13 +00:00
macx-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
macx-xcode Add XCTest logger backend to QtTestLib 2015-03-27 16:53:43 +00:00
modules Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
netbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
openbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-cc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-cc Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unsupported centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-icc centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2005 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2008 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2010 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2012 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2013 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2015 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
wince60standard-armv4i-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince60standard-x86-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-armv4i-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-x86-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince80colibri-armv7-msvc2012 Added Mkspec for Toradex WEC2013 SDK 2015-07-06 10:57:17 +00:00
winphone-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winphone-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00
winrt-x64-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x64-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00
winrt-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x86-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00