From e56ea14ab8531ee3cec375460577d1b89bf62e26 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Thu, 16 Jan 2014 05:30:46 +0000 Subject: Closed #1723: Merging pjsua2 branch into trunk git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98 --- build.mak.in | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'build.mak.in') diff --git a/build.mak.in b/build.mak.in index 3e5215e2..021c556b 100644 --- a/build.mak.in +++ b/build.mak.in @@ -172,6 +172,13 @@ export APP_CFLAGS := -DPJ_AUTOCONF=1\ -I$(PJDIR)/pjmedia/include\ -I$(PJDIR)/pjsip/include export APP_CXXFLAGS := $(APP_CFLAGS) +# x x x x x x x x x x x x x x x x x x x x x x x x +# +# FIX THIS +# +# pjsua2 is c++ library hence maybe needs to be put in separate +# variables. it will also require -lstdc++ or -static-libstdc++ +# x x x x x x x x x x x x x x x x x x x x x x x x export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\ -L$(PJDIR)/pjlib-util/lib\ -L$(PJDIR)/pjnath/lib\ @@ -179,8 +186,19 @@ export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\ -L$(PJDIR)/pjsip/lib\ -L$(PJDIR)/third_party/lib\ $(PJ_VIDEO_LDFLAGS) \ + -static-libstdc++ \ @LDFLAGS@ -export APP_LIB_FILES = $(PJ_DIR)/pjsip/lib/libpjsua-$(LIB_SUFFIX) \ + +# x x x x x x x x x x x x x x x x x x x x x x x x +# +# FIX THIS +# +# pjsua2 is c++ library hence maybe needs to be put in separate +# variables. it will also require -lstdc++ +# x x x x x x x x x x x x x x x x x x x x x x x x +export APP_LIB_FILES = \ + $(PJ_DIR)/pjsip/lib/libpjsua2-$(LIB_SUFFIX) \ + $(PJ_DIR)/pjsip/lib/libpjsua-$(LIB_SUFFIX) \ $(PJ_DIR)/pjsip/lib/libpjsip-ua-$(LIB_SUFFIX) \ $(PJ_DIR)/pjsip/lib/libpjsip-simple-$(LIB_SUFFIX) \ $(PJ_DIR)/pjsip/lib/libpjsip-$(LIB_SUFFIX) \ -- cgit v1.2.3