summaryrefslogtreecommitdiff
path: root/libs/pjproject/patches/0005-remove-hardcoded-lstdc++.patch
blob: 93e911475d7e87f31186e7eede07f96d23a7f06c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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)
 
 
 ###############################################################################