summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich2011-05-08 12:21:47 +0000
committerJo-Philipp Wich2011-05-08 12:21:47 +0000
commitb2459a6c6f43ddfed997ca29e6b5185857078cbb (patch)
treeeaaa76bdcd7c8bf79a1b71b3d34d0c9559896dbf
parent55725411aa678bd03bed2643b3285ac1e9cf2657 (diff)
downloadarchive-b2459a6c6f43ddfed997ca29e6b5185857078cbb.tar.gz
[packages] ulogd: compile with --export-dynamic to solve segfault in dlopen() (#8481)
SVN-Revision: 26853
-rw-r--r--net/ulogd/Makefile3
1 files changed, 2 insertions, 1 deletions
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