File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ wasm:
7979apple :
8080 @$(call print, "Building iOS and macOS cxframework ($(IOS_BUILD ) ) ." )
8181 mkdir -p $(IOS_BUILD_DIR )
82- $(GOMOBILE_BIN ) bind -target=ios,iossimulator,macos -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(IOS_BUILD ) $(MOBILE_PKG )
82+ cd mobile ; $(GOMOBILE_BIN ) bind -target=ios,iossimulator,macos -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(IOS_BUILD ) $(MOBILE_PKG )
8383
8484ios :
8585 @$(call print, "Building iOS cxframework ($(IOS_BUILD ) ) ." )
8686 mkdir -p $(IOS_BUILD_DIR )
87- $(GOMOBILE_BIN ) bind -target=ios,iossimulator -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(IOS_BUILD ) $(MOBILE_PKG )
87+ cd mobile ; $(GOMOBILE_BIN ) bind -target=ios,iossimulator -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(IOS_BUILD ) $(MOBILE_PKG )
8888 # modify library files for import without C++ modules
8989 sed -i.bak -E " s|$( IOS_STRING1) |$( IOS_STRING2) |g" $(IOS_FILE1 )
9090 sed -i.bak -E " s|$( IOS_STRING1) |$( IOS_STRING2) |g" $(IOS_FILE2 )
9494macos :
9595 @$(call print, "Building macOS cxframework ($(IOS_BUILD ) ) ." )
9696 mkdir -p $(IOS_BUILD_DIR )
97- $(GOMOBILE_BIN ) bind -target=macos -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(IOS_BUILD ) $(MOBILE_PKG )
97+ cd mobile ; $(GOMOBILE_BIN ) bind -target=macos -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(IOS_BUILD ) $(MOBILE_PKG )
9898
9999android :
100100 @$(call print, "Building Android library ($(ANDROID_BUILD ) ) ." )
You can’t perform that action at this time.
0 commit comments