From 23491adee0afb466a5ee5a238ccdf1ce955697a6 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 8 May 2011 12:21:47 +0000 Subject: [PATCH] [packages] ulogd: compile with --export-dynamic to solve segfault in dlopen() (#8481) git-svn-id: svn://svn.openwrt.org/openwrt/packages@26853 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/ulogd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ulogd/Makefile b/net/ulogd/Makefile index c1dc32b0b..ddfdc1c52 100644 --- a/net/ulogd/Makefile +++ b/net/ulogd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -109,6 +109,7 @@ define Build/Compile -I$(PKG_BUILD_DIR)/include/ulogd \ -I$(PKG_BUILD_DIR)/include \ -I$(PKG_BUILD_DIR)/libipulog/include \ + -Wl,--export-dynamic \ $(TARGET_CPPFLAGS)" \ all install endef