Sophie

Sophie

distrib > Mageia > 8 > armv7hl > media > core-release-src > by-pkgid > 0de89b3e8dddfc9551168e5782c96dea > files > 1

snort-2.9.8.0-6.mga8.src.rpm

--- configure.in.orig	2012-09-13 10:20:19.758061683 +0800
+++ configure.in	2012-09-13 10:22:22.898062878 +0800
@@ -477,7 +477,7 @@
 if test "x$with_libpcre_libraries" != "xno"; then
     LDFLAGS="${LDFLAGS}  -L${with_libpcre_libraries}"
 else
-    LDFLAGS="${LDFLAGS} `pcre-config --libs`"
+    LIBS="${LIBS} `pcre-config --libs`"
 fi
 
 # PCRE configuration (required)
@@ -592,7 +592,7 @@
 if test "x$with_dnet_libraries" != "xno"; then
     LDFLAGS="${LDFLAGS} -L${with_dnet_libraries}"
 else
-    LDFLAGS="${LDFLAGS} `dnet-config --libs 2>/dev/null`"
+    LIBS="${LIBS} `dnet-config --libs 2>/dev/null`"
 fi
 
 AC_CHECK_HEADERS(dnet.h,,DNET_H="no")