Created
April 10, 2015 07:35
-
-
Save plntyk/3bacd65c30931d2f2e5a to your computer and use it in GitHub Desktop.
pjproject: use g++ as a linker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pjproject: use g++ as a linker | |
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 | 11 +++++++++++ | |
1 file changed, 11 insertions(+) | |
create mode 100644 libs/pjproject/patches/001-change_linker.patch | |
diff --git a/libs/pjproject/patches/001-change_linker.patch b/libs/pjproject/patches/001-change_linker.patch | |
new file mode 100644 | |
index 0000000..5fd1503 | |
--- /dev/null | |
+++ b/libs/pjproject/patches/001-change_linker.patch | |
@@ -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@ | |
+ | |
-- | |
2.3.5 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment