Skip library version info on Windows
This commit is contained in:
parent
2abcfa283a
commit
eb96dcb0f7
@ -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], [
|
||||
|
@ -83,7 +83,6 @@ EXTRA_DIST = \
|
||||
libsodium_la_LDFLAGS = \
|
||||
$(AM_LDFLAGS) \
|
||||
-export-dynamic \
|
||||
-version-info $(SODIUM_LIBRARY_VERSION) \
|
||||
-no-undefined \
|
||||
$(LIBTOOL_EXTRA_FLAGS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user