pjproject: use g++ as a linker
authorDirk Neukirchen <dirkneukirchen@web.de>
Fri, 10 Apr 2015 12:47:19 +0000 (14:47 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 10 Apr 2015 12:47:19 +0000 (14:47 +0200)
this seems to fix a strange error where the last stage
cannot find libgcc.a or libgcc.so

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
libs/pjproject/patches/001-change_linker.patch [new file with mode: 0644]

diff --git a/libs/pjproject/patches/001-change_linker.patch b/libs/pjproject/patches/001-change_linker.patch
new file mode 100644 (file)
index 0000000..5fd1503
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/build/cc-auto.mak.in
++++ b/build/cc-auto.mak.in
+@@ -2,7 +2,7 @@ export CC = @CC@ -c
+ export CXX = @CXX@ -c
+ export AR = @AR@
+ export AR_FLAGS = @AR_FLAGS@
+-export LD = @LD@
++export LD = @CXX@
+ export LDOUT = -o 
+ export RANLIB = @RANLIB@