summaryrefslogtreecommitdiff
path: root/packages/ltrace/0.5.3/0008-lib-supcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ltrace/0.5.3/0008-lib-supcc.patch')
-rw-r--r--packages/ltrace/0.5.3/0008-lib-supcc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/ltrace/0.5.3/0008-lib-supcc.patch b/packages/ltrace/0.5.3/0008-lib-supcc.patch
new file mode 100644
index 0000000..cbb1975
--- /dev/null
+++ b/packages/ltrace/0.5.3/0008-lib-supcc.patch
@@ -0,0 +1,18 @@
+---
+ configure | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+--- a/configure
++++ b/configure
+@@ -78,7 +78,10 @@
+ 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=''