aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-10-11 12:46:21 +0000
committerlloyd <[email protected]>2011-10-11 12:46:21 +0000
commit655b95b22eb86f6f4fb6b9a0897d4271c24581a0 (patch)
treec27c528475d97948b6437d82675f6a7e04ad4dd8 /src
parenta5be7c394624db7a08a06467aa14ebff9a1dcb3d (diff)
Don't set the soname on OpenBSD (PR 158)
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/gcc.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 23da2a972..da89b3ad7 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -33,6 +33,9 @@ default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
# AIX doesn't seem to have soname support (weird...)
aix -> "$(CXX) -shared -fPIC"
+# OpenBSD doesn't use soname
+openbsd -> "$(CXX) -shared -fPIC"
+
darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
hpux -> "$(CXX) -shared -fPIC -Wl,+h,$(SONAME)"
solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)"