diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-12-13 09:21:04 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-12-13 09:21:04 +1000 |
commit | c6071dac1d3000f9216b638dea1e4f742592bad6 (patch) | |
tree | 3076facc08ecfe70a494d625d426e6e0836a1ad1 | |
parent | aa7cf8a6df7fc872e1e32ed60a950faaa0707d81 (diff) | |
download | jimtcl-c6071dac1d3000f9216b638dea1e4f742592bad6.zip jimtcl-c6071dac1d3000f9216b638dea1e4f742592bad6.tar.gz jimtcl-c6071dac1d3000f9216b638dea1e4f742592bad6.tar.bz2 |
mingw requires shared libs to have a .dll extension
Otherwise they can't be linked with -l
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | auto.def | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index fa70ef3..0312fee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -33,7 +33,7 @@ VPATH := @srcdir@ @if JIM_STATICLIB LIBJIM := libjim.a @else -LIBJIM := libjim.so +LIBJIM := libjim.@LIBSOEXT@ SH_LIBJIM := $(LIBJIM) CC += $(SH_CFLAGS) CXX += $(SH_CFLAGS) @@ -103,12 +103,14 @@ switch -glob -- $host_os { define TCL_PLATFORM_OS $host_os define TCL_PLATFORM_PLATFORM windows define TCL_PLATFORM_PATH_SEPARATOR {;} + define LIBSOEXT dll } default { # Note that cygwin is considered a unix platform define TCL_PLATFORM_OS $host_os define TCL_PLATFORM_PLATFORM unix define TCL_PLATFORM_PATH_SEPARATOR : + define LIBSOEXT so } } |