PKGBUILDs/aur/libresample/Makefile.in.patch

14 lines
386 B
Diff

diff -Nur libresample-0.1.3.orig/Makefile.in libresample-0.1.3/Makefile.in
--- libresample-0.1.3.orig/Makefile.in 2003-10-12 17:05:59.000000000 +1000
+++ libresample-0.1.3/Makefile.in 2009-08-24 08:43:16.000000000 +1000
@@ -20,6 +20,10 @@
TARGETS = @TARGETS@
DIRS=tests
+ifeq ($(shell uname -m),x86_64)
+ CFLAGS += -fPIC
+endif
+
all: $(TARGETS)
libresample.a: $(OBJS) Makefile