5dea692715
With "-Wl,-rpath,@loader_path/../lib" the linker embeds @loader_path/../lib as the target binary's rpath. Here @loader_path means the path of the binary that initiates the loading. With "-install_name @rpath/libfoo.dylib " the linker runtime searches libfoo.dylib in the binary's embeded rpath. With this change you can call dlopen() without specifying the full path of the shared library. Change-Id: If9beb3f6f4642a377bff603bab5ba3fdb96211bf |
||
---|---|---|
.. | ||
arch | ||
HOST_darwin-x86.mk | ||
HOST_linux-x86.mk | ||
HOST_windows-x86.mk | ||
javac.mk | ||
select.mk | ||
TARGET_linux-arm.mk | ||
TARGET_linux-sh.mk | ||
TARGET_linux-x86.mk |