On Fri, Apr 20, 2012 at 09:53:22AM +0200, Stephan Bergmann wrote:
On Mac OS X, LINKFLAGSRUNPATH_xxx is a misnomer. It does not
specify any RPATH, but rather a special install name token (those
"@___...___xxx") that is in turn used by
solenv/bin/macosx-changes-install-names.pl to determine how other
libraries and executables reference the given library (and thus is
only needed for libraries that others can link against).
(For the record, a related topic is how libraries within oxt
extensions link against other libraries. They can legitimately only
link against published URE libs or against other libs within the
same extension, where the latter apparently does not happen. For
URE libs, the way this is achieved is different on the different
platforms: On Linux, we guarantee that the URE libs are already
available in the process, so the extension lib can mention them as
DT_NEEDED without having an RPATH through which they could be found.
On Mac OS X, we guarantee that there is a symlink urelibs next to
the executalbe, so the extension lib can reference them via
@executable_path/urelibs. And on Windows, we guarantee that the URE
libs are available on PATH, anyway.)
Thanks for the detailed explanation. It is much appreciated.
D.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.