summaryrefslogtreecommitdiff
path: root/libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2019-10-11 18:06:09 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2019-10-11 18:06:20 +0200
commit9ea4a8b49b82db2d208a9a2879fcb531ed44e940 (patch)
tree438840564d07e1ca0b796d0a7a97804ef8b0a516 /libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch
parent966a01739377165b9a3f1e95ff2273c783eb5d94 (diff)
pjproject: bump to version 2.9
Version bump as preparation for Asterisk update. In other news: - upgrades ULRs to https - adds new configure switch --disable-darwin-ssl (doesn't apply to OpenWrt, but disable it explicitly anyway) - use INSTALL_DATA for pkg-config file - patch naming changed to be in line with Asterisk's patch naming, making maintenance easier - drops some patches, adds some new ones from Asterisk (mainly reverts of some pjproject commits which turned out to cause memory leaks) Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch')
-rw-r--r--libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch b/libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch
new file mode 100644
index 0000000..e2bf888
--- /dev/null
+++ b/libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch
@@ -0,0 +1,22 @@
+--- a/build.mak.in
++++ b/build.mak.in
+@@ -292,7 +292,6 @@ export APP_LDLIBS := $(PJSUA_LIB_LDLIB)
+ $(PJLIB_LDLIB) \
+ @LIBS@
+ export APP_LDXXLIBS := $(PJSUA2_LIB_LDLIB) \
+- -lstdc++ \
+ $(APP_LDLIBS)
+
+ # Here are the variabels to use if application is using the library
+--- a/pjsip/build/Makefile
++++ b/pjsip/build/Makefile
+@@ -152,8 +152,7 @@ export PJSUA2_LIB_LDFLAGS += $(PJSUA_LIB
+ $(PJNATH_LDLIB) \
+ $(PJLIB_UTIL_LDLIB) \
+ $(PJLIB_LDLIB) \
+- $(_LDFLAGS) \
+- -lstdc++
++ $(_LDFLAGS)
+
+
+ ###############################################################################