crosstool-ng/packages/ltrace/0.5.3/170-lib-supcc.patch
Alexey Neyman e7deac3aad Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00

17 lines
423 B
Diff

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=''