1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/cloog-ppl/0.15.6/100-add_on_libs_position.patch Wed Dec 26 13:30:51 2012 +0100
1.3 @@ -0,0 +1,24 @@
1.4 +diff -Naurd cloog-ppl-0.15.6-a/configure cloog-ppl-0.15.6-b/configure
1.5 +--- cloog-ppl-0.15.6-a/configure 2009-08-10 23:18:07.000000000 +0200
1.6 ++++ cloog-ppl-0.15.6-b/configure 2012-01-27 13:25:08.858988857 +0100
1.7 +@@ -12917,7 +12917,7 @@
1.8 +
1.9 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.10 +
1.11 +- LIBS="$LIBS -lppl_c -lppl -lgmpxx"
1.12 ++ LIBS="-lppl_c -lppl -lgmpxx $LIBS"
1.13 +
1.14 + cat >>confdefs.h <<\_ACEOF
1.15 + #define CLOOG_PPL_BACKEND 1
1.16 +diff -Naurd cloog-ppl-0.15.6-a/configure.in cloog-ppl-0.15.6-b/configure.in
1.17 +--- cloog-ppl-0.15.6-a/configure.in 2009-08-10 23:18:07.000000000 +0200
1.18 ++++ cloog-ppl-0.15.6-b/configure.in 2012-01-27 13:25:08.862988846 +0100
1.19 +@@ -354,7 +354,7 @@
1.20 + #endif
1.21 + ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ])
1.22 +
1.23 +- LIBS="$LIBS -lppl_c -lppl -lgmpxx"
1.24 ++ LIBS="-lppl_c -lppl -lgmpxx $LIBS"
1.25 + AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])
1.26 +
1.27 + else