summaryrefslogtreecommitdiffstats
path: root/package/pjsip/patches
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-15 23:42:48 +0000
committerJohn Crispin <john@openwrt.org>2012-06-15 23:42:48 +0000
commit75e9bbbcaeda573704d126ca678e25dfe06736e3 (patch)
tree15dca9642bb6d292837ba2b3ea8d1c2e8639fadf /package/pjsip/patches
parent293c47218a79a7327cfd058e04cc2afd0f3759f1 (diff)
downloadmaster-31e0f0ae-75e9bbbcaeda573704d126ca678e25dfe06736e3.tar.gz
master-31e0f0ae-75e9bbbcaeda573704d126ca678e25dfe06736e3.tar.bz2
master-31e0f0ae-75e9bbbcaeda573704d126ca678e25dfe06736e3.zip
fixes ccache compile and adds missing -lc
SVN-Revision: 32387
Diffstat (limited to 'package/pjsip/patches')
-rw-r--r--package/pjsip/patches/0001-configure-fixup.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/pjsip/patches/0001-configure-fixup.patch b/package/pjsip/patches/0001-configure-fixup.patch
index 2f8a71f5e1..1a941710f7 100644
--- a/package/pjsip/patches/0001-configure-fixup.patch
+++ b/package/pjsip/patches/0001-configure-fixup.patch
@@ -1,14 +1,13 @@
--- a/aconfigure.ac
+++ b/aconfigure.ac
-@@ -48,9 +48,9 @@ if test -z "$CROSS_COMPILE"; then
+@@ -48,9 +48,8 @@ if test -z "$CROSS_COMPILE"; then
CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'`
fi
-if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi
-+AR="${CROSS_COMPILE}ar rv"
++AR="${AR} rv"
AC_SUBST(AR)
-if test "$LD" = ""; then LD="$CC"; fi
-+LD="${CROSS_COMPILE}gcc"
AC_SUBST(LD)
if test "$LDOUT" = ""; then LDOUT="-o "; fi
AC_SUBST(LDOUT)