Module: sip-router
Branch: tma0/iptrtpproxy-v2
Commit: 9b56086987fbd1b0c3e5d1f3df0c6f6a22963799
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9b56086…
Author: Tomas Mandys <tomas.mandys(a)iptel.org>
Committer: Tomas Mandys <tomas.mandys(a)iptel.org>
Date: Thu Aug 4 15:39:07 2011 +0200
- fix of recent commit
---
modules/iptrtpproxy/Makefile | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/iptrtpproxy/Makefile b/modules/iptrtpproxy/Makefile
index b2d63da..ed9e915 100644
--- a/modules/iptrtpproxy/Makefile
+++ b/modules/iptrtpproxy/Makefile
@@ -7,13 +7,12 @@
#
# select if xtables.h (=0) or iptables.h (=1) header files are installed
-IPT_RTPPROXY_IPTABLES_API=0
+IPT_RTPPROXY_IPTABLES_API=1
# define path to netfilter/iptables source directory
iptdir = ~/iptables
#kerneldir=/usr/src/kernels/2.6.18-1.2849prerel3.3.0_63.1.0-i686/include
#kerneldir=~/iptables-1.4.2/include
-iptdir = /root/netfilter-RTPPROXY-v2
xtablesmoduledir=/lib/xtables
include ../../Makefile.defs
@@ -23,8 +22,8 @@ NAME=iptrtpproxy.so
# -L $(iptdir)/extensions -lext
# look for libipt_RTPPROXY first under /lib/xtables (default install dir)
# and if not found in $(iptdir)/extensions (compile dir)
-LIBS = -L $(xtablesmoduledir) -L $(iptdir)/libiptc -L $(iptdir)/iptables/extensions
-lipt_RTPPROXY
-#LIBS+=-L /lib/xtables
+LIBS = -L $(iptdir)/libiptc -L $(iptdir)/iptables/extensions -lipt_RTPPROXY
+LIBS+= -L $(xtablesmoduledir)
INCLUDES = -I $(iptdir)/linux-2.6/include -I $(kerneldir) -I $(iptdir)/iptables/include
ifeq ($(IPT_RTPPROXY_IPTABLES_API),1)