Explicitly link shared libraries against dependent libraries, in response to

Debian bug #179764.  This lets the linker resolve things automagically, and
programs linking with FLAC libs don't need to add any extra linker flags, among
other good things.

http://bugs.debian.org/179764
This commit is contained in:
Matt Zimmerman
2003-05-27 05:07:16 +00:00
parent 50346e2a2e
commit e3499073ba
5 changed files with 7 additions and 5 deletions

View File

@@ -39,7 +39,9 @@ else
if FLaC__CPU_IA32
if FLaC__HAS_NASM
ARCH_SUBDIRS = ia32
libFLAC_la_LIBADD = ia32/libFLAC-asm.la
libFLAC_la_LIBADD = -lm ia32/libFLAC-asm.la
else
libFLAC_la_LIBADD = -lm
endif
endif
endif
@@ -57,7 +59,6 @@ EXTRA_DIST = \
# see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention
libFLAC_la_LDFLAGS = -version-info 5:2:1
libFLAC_la_SOURCES = \
bitbuffer.c \
bitmath.c \