Advertisement
Guest User

configure_tests.patch

a guest
Aug 31st, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement