From: nbd Date: Sun, 1 Apr 2007 12:28:56 +0000 (+0000) Subject: fix iptables extension issue with mac os x builds X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=262d6ed3a891e6ed63405d3165f542796b92a48b fix iptables extension issue with mac os x builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6786 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 17b79d2fd8..5c65e68e24 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -172,6 +172,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ COPT_FLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="-rdynamic -static-libgcc" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install