[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copying native library into app bundle and linking from there
From: |
David Chisnall |
Subject: |
Re: Copying native library into app bundle and linking from there |
Date: |
Thu, 4 Jul 2013 13:28:18 +0100 |
On 4 Jul 2013, at 13:18, Luboš Doležel <lubos@dolezel.info> wrote:
> That being said, ELF does have RPATH/RUNPATH attributes which simply
> influence the search paths. RPATH takes precedence over defaults (globals),
> RUNPATH is checked after defaults.
You can use $ORIGIN in these paths to specify an executable-relative path.
This allows specifying in-bundle paths (e.g. $ORIGIN/Frameworks/).
David
-- Sent from my brain