Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

configure_tests.patch

By: a guest on Aug 31st, 2013  |  syntax: None  |  size: 0.81 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- configure_tests.sh  2012-03-11 12:39:07.580639217 +0100
  2. +++ configure_tests.sh.new      2012-03-11 12:39:44.857591740 +0100
  3. @@ -3,7 +3,7 @@
  4.  set > testset.txt
  5.  ERROR=0
  6.  WARNING=0
  7. -STRIPOPT='s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//'
  8. +STRIPOPT='s/-Wl[^ ]*//g ; s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//'
  9.  
  10.  mkdir -p tests
  11.  
  12. --- configure_tests.sh  2013-08-31 22:18:03.212083000 +0200
  13. +++ configure_tests.sh.new 2013-08-31 22:24:21.538871000 +0200
  14. @@ -543,7 +543,7 @@
  15.      if [ -z "$found" ]; then
  16.        pkg-config  --atleast-version=0.2 $pc_package
  17.        if [ $? = 0 ]; then
  18. -        found=`pkg-config --cflags $pc_package`
  19. +        found=`pkg-config --libs $pc_package`
  20.          version=`pkg-config --modversion $pc_package`
  21.        fi
  22.      fi