aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-11 17:24:47 +0000
committerlloyd <[email protected]>2010-06-11 17:24:47 +0000
commitd82e7ef1c92873819db63968cebdf0f488c99d40 (patch)
tree2acf555b6fd6c1d7e4d56daf634cd6636002625a /src/build-data/cc
parent238fbfc13c9f703572b31d39a0c9a876ee63c869 (diff)
Change how install_name is set on OS X. Not tested, taken from patch
used by MacPorts; I assume they know what they are doing.
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/gcc.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 06a23d712..6c5e4267f 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -31,7 +31,7 @@ default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
# AIX doesn't seem to have soname support (weird...)
aix -> "$(CXX) -shared -fPIC"
-darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(SONAME)"
+darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
hpux -> "$(CXX) -shared -fPIC -Wl,+h,$(SONAME)"
solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)"
# Gotta use ld directly on BeOS, their GCC is busted