Mercurial > octave-nkf
comparison configure.in @ 8644:fac8c78b4fb9
configure.in: fix shared library definitions for Cygwin and MinGW
author | Marco Atzeri <marco_atzeri@yahoo.it> |
---|---|
date | Fri, 30 Jan 2009 14:43:46 -0500 |
parents | 2264092e9f39 |
children | 9792c26bffc7 |
comparison
equal
deleted
inserted
replaced
8643:92e193030b77 | 8644:fac8c78b4fb9 |
---|---|
1238 ;; | 1238 ;; |
1239 *-*-mingw* | *-*-cygwin*) | 1239 *-*-mingw* | *-*-cygwin*) |
1240 case "$canonical_host_type" in | 1240 case "$canonical_host_type" in |
1241 *-*-cygwin*) | 1241 *-*-cygwin*) |
1242 LIBPRE=cyg | 1242 LIBPRE=cyg |
1243 SHLLIBPRE=lib | 1243 SHLLIBPRE=cyg |
1244 SHLBINPRE=cyg | 1244 SHLBINPRE=lib |
1245 ;; | 1245 ;; |
1246 esac | 1246 esac |
1247 SHLEXT=dll | |
1248 SHLLIB=dll.a | |
1249 SHLBIN=a | |
1247 DL_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc" | 1250 DL_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc" |
1248 SH_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base" | 1251 SH_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base" |
1249 SONAME_FLAGS='-Wl,--out-implib=$(SHLLIBPRE)$(basename $@)$(SHLLIB)' | 1252 SONAME_FLAGS='-Wl,--out-implib=$(patsubst $(SHLLIBPRE)%,$(SHLBINPRE)%,$@).a' |
1250 ;; | 1253 ;; |
1251 | 1254 |
1252 *-*-msdosmsvc) | 1255 *-*-msdosmsvc) |
1253 DL_LDFLAGS="-shared" | 1256 DL_LDFLAGS="-shared" |
1254 CPICFLAG= | 1257 CPICFLAG= |