mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user