summaryrefslogtreecommitdiff
path: root/patches/ltrace/0.5.3
diff options
context:
space:
mode:
Diffstat (limited to 'patches/ltrace/0.5.3')
-rw-r--r--patches/ltrace/0.5.3/170-lib-supcc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/ltrace/0.5.3/170-lib-supcc.patch b/patches/ltrace/0.5.3/170-lib-supcc.patch
new file mode 100644
index 0000000..8842b91
--- /dev/null
+++ b/patches/ltrace/0.5.3/170-lib-supcc.patch
@@ -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=''