summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2013-12-17 09:58:47 +0000
committerDamien Doligez <damien.doligez-inria.fr>2013-12-17 09:58:47 +0000
commitc81cc506ecc364b1460a0240541e23e945fae9ac (patch)
treea7f29d790abfddf854456407abd707d5c5eee433 /configure
parented52c665b6608f1a5a689ddfd8d23fb12a731332 (diff)
configure: SO must be "so" or "dll" without the dot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 7fdfb0a0c..d45e88f70 100755
--- a/configure
+++ b/configure
@@ -309,7 +309,7 @@ dllccompopts=""
ostype="Unix"
exe=""
iflexdir=""
-SO=".so"
+SO="so"
TOOLCHAIN="cc"
case "$bytecc,$target" in
@@ -409,7 +409,7 @@ case "$bytecc,$target" in
exe=".exe"
ostype="Win32"
TOOLCHAIN="mingw"
- SO=".dll"
+ SO="dll"
;;
*gcc*,x86_64-*-linux*)
bytecccompopts="-fno-defer-pop $gcc_warnings"
@@ -1696,7 +1696,7 @@ echo "SO=$SO" >> Makefile
echo "EXT_OBJ=.o" >> Makefile
echo "EXT_ASM=.s" >> Makefile
echo "EXT_LIB=.a" >> Makefile
-echo "EXT_DLL=$SO" >> Makefile
+echo "EXT_DLL=.$SO" >> Makefile
echo "EXTRALIBS=" >> Makefile
echo "CCOMPTYPE=cc" >> Makefile
echo "TOOLCHAIN=$TOOLCHAIN" >> Makefile