From: Jo-Philipp Wich Date: Sun, 8 May 2011 12:21:47 +0000 (+0000) Subject: [packages] ulogd: compile with --export-dynamic to solve segfault in dlopen() (#8481) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=b2459a6c6f43ddfed997ca29e6b5185857078cbb [packages] ulogd: compile with --export-dynamic to solve segfault in dlopen() (#8481) SVN-Revision: 26853 --- diff --git a/net/ulogd/Makefile b/net/ulogd/Makefile index c1dc32b0b9..ddfdc1c52c 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