mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 17:04:36 +04:00
This is a manual cherry-pick ofa572285886and472f1ac7ac. 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>
23 lines
618 B
Diff
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)
|
|
|
|
|
|
###############################################################################
|