Skip to content

Commit 063c585

Browse files
copy csharp bindings to artifacts dir
1 parent e4666de commit 063c585

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,21 @@ function _copy_built_files () {
577577
mkdir -p "${PJSIP_FINAL_LIB_DIR}/fat"
578578
fi
579579

580+
if [ ! -d "${PJSIP_FINAL_LIB_DIR}/pjsua2xamarin" ]; then
581+
mkdir -p "${PJSIP_FINAL_LIB_DIR}/pjsua2xamarin"
582+
fi
583+
584+
if [ -d "$PJSIP_SRC_DIR/pjsip-apps/src/swig/csharp/pjsua2xamarin" ]; then
585+
cp -v -r "$PJSIP_SRC_DIR/pjsip-apps/src/swig/csharp/pjsua2xamarin" "${PJSIP_FINAL_LIB_DIR}/pjsua2xamarin"
586+
fi
580587
echo "--- libtool fat pjsua2"
581588

589+
590+
582591
libtool -o "$PJSIP_FINAL_LIB_DIR/fat/libpjsua2.a" $a_files
583592

593+
594+
584595
#echo "--- Lipo pjsua2"
585596
#xcrun -sdk iphoneos lipo ${lipo_args} -create -output "${PJSIP_FINAL_LIB_DIR}/fat/libpjsua2.a" || exit
586597

0 commit comments

Comments
 (0)