aboutsummaryrefslogtreecommitdiff
path: root/config/var-def.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/var-def.mk')
-rw-r--r--config/var-def.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/var-def.mk b/config/var-def.mk
index a08fccde..03d0b6a5 100644
--- a/config/var-def.mk
+++ b/config/var-def.mk
@@ -79,9 +79,9 @@ LINK = $(LIBTOOL) --mode=link $(CC) -static
## to be very selective about when and where to use. Sadly, that ends
## up negating the whole point of having Libtool in the first place.
ifeq (@oa_use_libtool_for_shared_lib@,no)
-LINK_SHRLIB = $(CC) -shared
+LINK_SHRLIB = $(CC)
else
-LINK_SHRLIB = $(LIBTOOL) --mode=link $(CC) -module
+LINK_SHRLIB = $(LIBTOOL) --mode=link $(CC)
endif