From 235692a7d6acafba4af0582cd961ea43b58f1a0b Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 1 Apr 2007 12:28:56 +0000
Subject: [PATCH] fix iptables extension issue with mac os x builds

SVN-Revision: 6786
---
 package/iptables/Makefile | 1 +
 1 file changed, 1 insertion(+)

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
-- 
GitLab