From 850d1ae8c70f6f4be27f36e407684f1b5dbe54b3 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 19 Apr 2011 13:16:54 +0000 Subject: [PATCH] Compile iptables module with -fPIC. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index c5140d8d9..8205a8735 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,7 @@ build: build-stamp build-stamp: dh_testdir - cd iptables-extension/ && gcc -O2 -Wall -shared -o libipt_MEDIAPROXY.so libipt_MEDIAPROXY-1.4.c && cd .. + cd iptables-extension/ && gcc -O2 -Wall -fPIC -shared -o libipt_MEDIAPROXY.so libipt_MEDIAPROXY-1.4.c && cd .. cd daemon && $(MAKE) && cd .. touch $@