diff -r 000000000000 -r 8e2077dfc250 patches/ltrace/0.5.3/170-lib-supcc.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/ltrace/0.5.3/170-lib-supcc.patch Fri Jan 03 00:13:15 2014 +0100 @@ -0,0 +1,16 @@ +Index: ltrace-0.5.3/configure +=================================================================== +--- ltrace-0.5.3/configure ++++ ltrace-0.5.3/configure +@@ -78,7 +78,10 @@ fi + rm -f conftest.c a.out + + CFLAGS='-g -O2' +-LIBS='-lelf -lsupc++ -liberty ' ++LIBS='-lelf' ++[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++" ++[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty" ++ + INSTALL='install -c' + iquote='-iquote ' + iquoteend=''