1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/cloog-ppl/0.15.8/100-add_on_libs_position.patch Sun May 11 23:31:54 2014 +0200
1.3 @@ -0,0 +1,24 @@
1.4 +diff -Naurd cloog-ppl-0.15.8-a/configure cloog-ppl-0.15.8-b/configure
1.5 +--- cloog-ppl-0.15.8-a/configure 2010-02-11 19:05:30.000000000 +0100
1.6 ++++ cloog-ppl-0.15.8-b/configure 2012-01-27 13:27:09.710988253 +0100
1.7 +@@ -12902,7 +12902,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.8-a/configure.in cloog-ppl-0.15.8-b/configure.in
1.17 +--- cloog-ppl-0.15.8-a/configure.in 2010-02-11 19:05:31.000000000 +0100
1.18 ++++ cloog-ppl-0.15.8-b/configure.in 2012-01-27 13:27:09.710988253 +0100
1.19 +@@ -345,7 +345,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