Link with -no-undefined regardless of the OS

libFLAC* must never have undefined symbols no matter
what is the target platform.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Cristian Rodríguez
2013-07-21 01:28:51 -04:00
committed by Erik de Castro Lopo
parent 33c23b3dfa
commit 355f4aae47
3 changed files with 3 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ extra_ogg_sources = \
endif
# see 'http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning' for numbering convention
libFLAC_la_LDFLAGS = $(AM_LDFLAGS) -version-info 11:0:3 $(LOCAL_EXTRA_LDFLAGS) @LT_NO_UNDEFINED@
libFLAC_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 11:0:3 $(LOCAL_EXTRA_LDFLAGS)
libFLAC_sources = \
bitmath.c \