[packages] linuxigd: fix linking against libiptc family (#6678)
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 19 Feb 2010 02:26:54 +0000 (02:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 19 Feb 2010 02:26:54 +0000 (02:26 +0000)
SVN-Revision: 19726

net/linuxigd/Makefile

index f198967..5bc6624 100644 (file)
@@ -39,7 +39,7 @@ endef
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR)  \
                $(TARGET_CONFIGURE_OPTS) \
-               CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DIPTABLES_143" \
+               CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DIPTABLES_143 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib" \
                BINDIR="/usr/sbin" \
                MANDIR="/usr/man" \
                HAVE_LIBIPTC=1 \