nmap: bump version to 6.47
[openwrt.org/packages.git] / net / 003-fix-bad-rpath.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- a/configure
+++ b/configure
@@ -1728,7 +1728,7 @@ else
 EOF
 
         MYSQLINCLUDES=`$d/mysql_config --include`
-        MYSQLLIBS=`$d/mysql_config --libs`
+        MYSQLLIBS=`$d/mysql_config --libs | sed 's/-rdynamic//'`
 
        DATABASE_DIR="${DATABASE_DIR} mysql"
 
--- a/configure.in
+++ b/configure.in
@@ -60,7 +60,7 @@ then
 else
         AC_DEFINE(HAVE_MYSQL)
         MYSQLINCLUDES=`$d/mysql_config --include`
-        MYSQLLIBS=`$d/mysql_config --libs`
+        MYSQLLIBS=`$d/mysql_config --libs | $(SED) 's/-rdynamic//'`
 
        DATABASE_DIR="${DATABASE_DIR} mysql"
 
--- a/Makefile.in
+++ b/Makefile.in
@@ -63,7 +63,7 @@ recurse: 
        @for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done
 
 ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o $(LIBIPULOG)/libipulog.a ulogd.conf
-       $(CC) $(CFLAGS) -rdynamic $< conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS)
+       $(CC) $(CFLAGS) $< conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS)
 
 edit = sed -e 's,@libdir\@,$(ULOGD_LIB_PATH),g'
 
 
comments