Skip to content

Commit

Permalink
swift-pjsua2 directory path changes for config files
Browse files Browse the repository at this point in the history
  • Loading branch information
emretufekci committed Jun 7, 2021
1 parent 413142a commit e77c002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pjsip-apps/src/pjsua/ios*/lib*.a
pjsip-apps/src/pjsua/ios/ipjsua.xcodeproj/project.xcworkspace/
pjsip-apps/src/pjsua/ios/ipjsua.xcworkspace/xcshareddata
pjsip-apps/src/pjsua/ios-swift/Libraries/
pjsip-apps/samples/pjsua2/ios-swift-pjsua2/Libraries/
pjsip-apps/src/pjsua2/ios-swift-pjsua2/Libraries/

# SWIG Java/Android stuff
pjsip-apps/src/swig/java/android/app/src/main/java/org/pjsip/pjsua2/*.java
Expand Down
4 changes: 2 additions & 2 deletions pjsip-apps/build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ $(PJSUA_EXE):
$(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(subst /,$(HOST_PSEP),$(BINDIR)/$@)
@if echo "$(TARGET_NAME)" | grep -q "apple-darwin_ios$$"; then \
mkdir ../src/pjsua/ios-swift/Libraries ; \
mkdir ../src/samples/ios-swift-pjsua2/Libraries ; \
mkdir ../src/pjsua2/ios-swift-pjsua2/Libraries ; \
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/"`; \
ln -sf $$F ../src/pjsua/ios/$$tmp; \
ln -sf $$F ../src/pjsua/ios-swift/Libraries/$$tmp; \
ln -sf $$F ../src/samples/ios-swift-pjsua2/Libraries/$$tmp; \
ln -sf $$F ../src/pjsua2/ios-swift-pjsua2/Libraries/$$tmp; \
fi; \
done; \
fi;
Expand Down

0 comments on commit e77c002

Please sign in to comment.