summaryrefslogtreecommitdiff
path: root/buildlib/environment.mak.in
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/environment.mak.in')
-rw-r--r--buildlib/environment.mak.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index b0b8f185e..6d721c711 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -35,3 +35,12 @@ PTHREADLIB = @PTHREADLIB@
# Shim Headerfile control
HAVE_C9X = @HAVE_C9X@
HAVE_STATVFS = @HAVE_STATVFS@
+
+# Shared library things
+HOST_OS = @host_os@
+ifeq ($(HOST_OS),linux-gnu)
+ ONLYSHAREDLIBS = yes
+ SONAME_MAGIC=-Wl,-soname -Wl,
+ LFLAGS_SO=
+endif
+