summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-08-06 09:15:11 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-08-06 09:15:11 +0000
commit4932a640bee0dd9d807ecb0e3bc526621e8be071 (patch)
tree68571ecf864ee26e5a86490ea4ebbeed33121321 /pjsip-apps
parenteb57ca92baa9b5984c6c06c593062ab488726a80 (diff)
Re #1870: Modified the last identifier of the build triplet from darwin to darwin_ios to distinguish between iOS and MacOS platforms.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5150 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r--pjsip-apps/build/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/build/Makefile b/pjsip-apps/build/Makefile
index a3c7386b..49ff2d70 100644
--- a/pjsip-apps/build/Makefile
+++ b/pjsip-apps/build/Makefile
@@ -67,7 +67,7 @@ distclean: realclean
pjsua: $(PJSUA_EXE)
$(PJSUA_EXE):
$(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(subst /,$(HOST_PSEP),$(BINDIR)/$@)
- @if echo "$(TARGET_NAME)" | grep -q "apple-darwin$$"; then \
+ @if echo "$(TARGET_NAME)" | grep -q "apple-darwin_ios$$"; then \
for F in $(filter %$(TARGET_NAME).a,$(PJ_LIBXX_FILES)); do \
if test -f $$F; then \
tmp=`echo $${F##*/} | sed -e "s/\-$(TARGET_NAME)\.a/.a/"`; \
@@ -95,7 +95,7 @@ clean depend realclean:
echo '$(BINDIR)/$(PJSUA_EXE): $(APP_LIB_FILES)' >> .pjsua-$(TARGET_NAME).depend; \
echo '$(BINDIR)/$(PJSYSTEST_EXE): $(APP_LIB_FILES)' >> .pjsystest-$(TARGET_NAME).depend; \
fi
- @if echo "$(TARGET_NAME)" | grep -q "apple-darwin$$"; then \
+ @if echo "$(TARGET_NAME)" | grep -q "apple-darwin_ios$$"; then \
for F in $(filter %$(TARGET_NAME).a,$(PJ_LIBXX_FILES)); do \
tmp=`echo $${F##*/} | sed -e "s/\-$(TARGET_NAME)\.a/.a/"`; \
rm -f ../src/pjsua/ios/$$tmp; \