Files
telephony/libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch
Sebastian Kemper f5120a4637 pjproject: bump to 2.12.1
This is a manual cherry-pick of a572285886
and 472f1ac7ac. The only difference is
that the uclibc-related patches were not dropped, because uclibc is used
in OpenWrt 21.02.

- add "--disable-android-mediacodec" to configure
- add EXCLUDE_APP=1 to "make" calls so some apps aren't built (speeds up
  the build a bit)
- drop "sed" call as no longer needed
- update 0004-config_site.patch to sync up with Asterisk 18.14.0
- update 0006-fix-pkg_config-file.patch as there were some changes in
  this area upstream
- add 0007-execinfo.patch to prevent errors due to missing <execinfo.h>
- sync patches with Asterisk 18.14.0
- backports two security fixes (c4d3498 and 450baca) from pjproject
  2.13, source: asterisk 20.0.1

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-12-03 15:44:30 +01:00

23 lines
618 B
Diff

--- a/build.mak.in
+++ b/build.mak.in
@@ -328,7 +328,6 @@ export APP_LDLIBS := $(PJSUA_LIB_LDLIB)
$(PJLIB_LDLIB) \
@LIBS@
export APP_LDXXLIBS := $(PJSUA2_LIB_LDLIB) \
- -lstdc++ \
$(APP_LDLIBS)
# Here are the variables 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)
###############################################################################