]> git.pld-linux.org Git - packages/flac.git/commitdiff
- fix libFLAC linking
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 1 Dec 2006 06:25:37 +0000 (06:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flac-link.patch -> 1.4

flac-link.patch [new file with mode: 0644]

diff --git a/flac-link.patch b/flac-link.patch
new file mode 100644 (file)
index 0000000..0d99b45
--- /dev/null
@@ -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)
This page took 0.044559 seconds and 4 git commands to generate.