summarylogtreecommitdiffstats
path: root/configure_tests.patch
blob: b4906b555ea6f40b75f1cbf7bb7f7f53aee72636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure_tests.sh  2012-03-11 12:39:07.580639217 +0100
+++ configure_tests.sh.new      2012-03-11 12:39:44.857591740 +0100
@@ -3,7 +3,7 @@
 set > testset.txt
 ERROR=0
 WARNING=0
-STRIPOPT='s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//'
+STRIPOPT='s/-Wl[^ ]*//g ; s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//'
 
 mkdir -p tests

--- configure_tests.sh  2013-08-31 22:18:03.212083000 +0200
+++ configure_tests.sh.new 2013-08-31 22:24:21.538871000 +0200
@@ -543,7 +543,7 @@
     if [ -z "$found" ]; then
       pkg-config  --atleast-version=0.2 $pc_package
       if [ $? = 0 ]; then
-        found=`pkg-config --cflags $pc_package`
+        found=`pkg-config --libs $pc_package`
         version=`pkg-config --modversion $pc_package`
       fi
     fi