[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 f198967e33672c2e06d5e59fdeb9e3a94d623bbc..5bc6624d783b129d24d1721f232d35c13fd0a116 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 \