about summary refs log tree commit diff
path: root/src/rt/rust_android_dummy.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-11-05 14:17:30 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-11-05 14:17:30 -0800
commit243c0dac8fe7e06125bad7b1f87a61794c8636f1 (patch)
treea7368079fc2b8ad49bcb0dc3f65684fd8e669b8c /src/rt/rust_android_dummy.cpp
parent1c56652640c6f376cf454c63c7dd80eabe28ed5e (diff)
downloadrust-243c0dac8fe7e06125bad7b1f87a61794c8636f1.tar.gz
rust-243c0dac8fe7e06125bad7b1f87a61794c8636f1.zip
Use loader_path instead of executable_path for osx
According to apple's documentation of rpath semantics, @executable_path means
that the path is relative the the *process executable*, not necessarily the
library in question. On the other hand, @loader_path is the path that points to
the library which contains the @loader_path reference. All of our rpath usage is
based off the library or executable, not just the executable. This means that on
OSX we should be using @loader_path instead of @executable_path to achieve the
same semantics as linux's $ORIGIN.
Diffstat (limited to 'src/rt/rust_android_dummy.cpp')
0 files changed, 0 insertions, 0 deletions