1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/cloog-ppl/0.15.11/100-add_on_libs_position.patch Sat Mar 03 23:38:33 2012 +0100
1.3 @@ -0,0 +1,24 @@
1.4 +diff -Naurd cloog-ppl-0.15.11-a/configure cloog-ppl-0.15.11-b/configure
1.5 +--- cloog-ppl-0.15.11-a/configure 2011-04-01 06:22:53.000000000 +0200
1.6 ++++ cloog-ppl-0.15.11-b/configure 2012-01-27 13:29:42.698987517 +0100
1.7 +@@ -11238,7 +11238,7 @@
1.8 + fi
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 + $as_echo "#define CLOOG_PPL_BACKEND 1" >>confdefs.h
1.15 +
1.16 +diff -Naurd cloog-ppl-0.15.11-a/configure.in cloog-ppl-0.15.11-b/configure.in
1.17 +--- cloog-ppl-0.15.11-a/configure.in 2010-08-27 21:13:48.000000000 +0200
1.18 ++++ cloog-ppl-0.15.11-b/configure.in 2012-01-27 13:29:42.698987517 +0100
1.19 +@@ -343,7 +343,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