summarylogtreecommitdiffstats
path: root/Makefile.in.patch
blob: c6e5ea6c81a476d831c7e61c50f936d8eece2061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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