SOURCES: flac-link.patch (NEW) - fix libFLAC linking
qboosh
qboosh at pld-linux.org
Fri Dec 1 07:25:42 CET 2006
Author: qboosh Date: Fri Dec 1 06:25:42 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix libFLAC linking
---- Files affected:
SOURCES:
flac-link.patch (1.3 -> 1.4) (NEW)
---- Diffs:
================================================================
Index: SOURCES/flac-link.patch
diff -u /dev/null SOURCES/flac-link.patch:1.4
--- /dev/null Fri Dec 1 07:25:42 2006
+++ SOURCES/flac-link.patch Fri Dec 1 07:25:37 2006
@@ -0,0 +1,28 @@
+--- flac-1.1.3/src/libFLAC/Makefile.am.orig 2006-10-13 06:25:26.000000000 +0200
++++ flac-1.1.3/src/libFLAC/Makefile.am 2006-12-01 00:43:17.655239500 +0100
+@@ -52,17 +52,17 @@
+ if FLaC__CPU_IA32
+ if FLaC__HAS_NASM
+ ARCH_SUBDIRS = ia32
+-libFLAC_la_LIBADD = ia32/libFLAC-asm.la
++FLAC_ADD = ia32/libFLAC-asm.la
+ endif
+ endif
+ if FLaC__CPU_PPC
+ ARCH_SUBDIRS = ppc
+ if FLaC__HAS_AS__TEMPORARILY_DISABLED
+-libFLAC_la_LIBADD = ppc/as/libFLAC-asm.la
++FLAC_ADD = ppc/as/libFLAC-asm.la
+ LOCAL_EXTRA_LDFLAGS = "-Wl,-read_only_relocs,warning"
+ else
+ if FLaC__HAS_GAS__TEMPORARILY_DISABLED
+-libFLAC_la_LIBADD = ppc/gas/libFLAC-asm.la
++FLAC_ADD = ppc/gas/libFLAC-asm.la
+ LOCAL_EXTRA_LDFLAGS = ""
+ endif
+ endif
+@@ -107,3 +107,4 @@
+ stream_encoder_framing.c \
+ window.c \
+ $(extra_ogg_sources)
++libFLAC_la_LIBADD = $(FLAC_ADD) $(OGG_LIBS)
================================================================
More information about the pld-cvs-commit
mailing list