Mercurial > hg > octave-lyh
diff 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 |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -1240,13 +1240,16 @@ case "$canonical_host_type" in *-*-cygwin*) LIBPRE=cyg - SHLLIBPRE=lib - SHLBINPRE=cyg + SHLLIBPRE=cyg + SHLBINPRE=lib ;; esac + SHLEXT=dll + SHLLIB=dll.a + SHLBIN=a DL_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc" SH_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base" - SONAME_FLAGS='-Wl,--out-implib=$(SHLLIBPRE)$(basename $@)$(SHLLIB)' + SONAME_FLAGS='-Wl,--out-implib=$(patsubst $(SHLLIBPRE)%,$(SHLBINPRE)%,$@).a' ;; *-*-msdosmsvc)