Skip library version info on Windows

This commit is contained in:
Frank Denis 2013-02-04 22:52:51 -08:00
parent 2abcfa283a
commit eb96dcb0f7
2 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,10 @@ AX_CHECK_COMPILE_FLAG([-fcatch-undefined-c99-behavior],
AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing], [CFLAGS="$CFLAGS -fno-strict-aliasing"])
AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], [CFLAGS="$CFLAGS -fno-strict-overflow"])
LIBTOOL_EXTRA_FLAGS=-version-info $SODIUM_LIBRARY_VERSION
case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
LIBTOOL_EXTRA_FLAGS=-module
LIBTOOL_EXTRA_FLAGS=-module -avoid-version
AX_CHECK_LINK_FLAG([-Wl,--dynamicbase], [LDFLAGS="$LDFLAGS -Wl,--dynamicbase"])
AX_CHECK_LINK_FLAG([-Wl,--nxcompat], [LDFLAGS="$LDFLAGS -Wl,--nxcompat"])
AX_CHECK_COMPILE_FLAG([-fstack-protector-all], [

View File

@ -83,7 +83,6 @@ EXTRA_DIST = \
libsodium_la_LDFLAGS = \
$(AM_LDFLAGS) \
-export-dynamic \
-version-info $(SODIUM_LIBRARY_VERSION) \
-no-undefined \
$(LIBTOOL_EXTRA_FLAGS)