aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-03-26 05:57:19 +0000
committerdos-reis <gdr@axiomatics.org>2008-03-26 05:57:19 +0000
commitc98e47a0c148103da65955acfb3782e37a8fc4c3 (patch)
treef4a461581ed5e50201e1df586e8156873f1e1458 /config
parent68c6afce19df6a92b0569a23bcfe3a73f109b754 (diff)
downloadopen-axiom-c98e47a0c148103da65955acfb3782e37a8fc4c3.tar.gz
Fix shared linking regression
Diffstat (limited to 'config')
-rw-r--r--config/var-def.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/var-def.mk b/config/var-def.mk
index 2bc5558c..ccd0c721 100644
--- a/config/var-def.mk
+++ b/config/var-def.mk
@@ -55,8 +55,10 @@ CC = @CC@
CFLAGS = @CFLAGS@
OBJEXT = @OBJEXT@
EXEEXT = @EXEEXT@
-DLLEXT = $(if $(findstring mingw, $(target)),dll,so)
-
+# this includes leading period
+SHREXT = @shrext_cmds@
+# this does not include period
+LIBEXT = @libext@
PACKAGE_STRING = @PACKAGE_STRING@
@@ -68,8 +70,8 @@ COMPILE = $(LIBTOOL) --mode=compile $(CC) -c
## Sadly, at the moment, the C parts of the OpenAxiom system is not
## well structured enough to allow for clean dynamic libraries
-## and dynamic linking. So, we build static libraries and programs.
-## This situation is to be fixed soon.
+## and dynamic linking. So, we build static programs.
+## This situation is to be fixed when I have time.
LINK = $(LIBTOOL) --mode=link $(CC) -static