1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/ltrace/0.5.3/170-lib-supcc.patch Wed Nov 30 12:07:59 2011 +0100
1.3 @@ -0,0 +1,16 @@
1.4 +Index: ltrace-0.5.3/configure
1.5 +===================================================================
1.6 +--- ltrace-0.5.3/configure
1.7 ++++ ltrace-0.5.3/configure
1.8 +@@ -78,7 +78,10 @@ fi
1.9 + rm -f conftest.c a.out
1.10 +
1.11 + CFLAGS='-g -O2'
1.12 +-LIBS='-lelf -lsupc++ -liberty '
1.13 ++LIBS='-lelf'
1.14 ++[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++"
1.15 ++[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty"
1.16 ++
1.17 + INSTALL='install -c'
1.18 + iquote='-iquote '
1.19 + iquoteend=''