File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ wasm:
79
79
apple :
80
80
@$(call print, "Building iOS and macOS cxframework ($(IOS_BUILD ) ) ." )
81
81
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 )
83
83
84
84
ios :
85
85
@$(call print, "Building iOS cxframework ($(IOS_BUILD ) ) ." )
86
86
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 )
88
88
# modify library files for import without C++ modules
89
89
sed -i.bak -E " s|$( IOS_STRING1) |$( IOS_STRING2) |g" $(IOS_FILE1 )
90
90
sed -i.bak -E " s|$( IOS_STRING1) |$( IOS_STRING2) |g" $(IOS_FILE2 )
94
94
macos :
95
95
@$(call print, "Building macOS cxframework ($(IOS_BUILD ) ) ." )
96
96
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 )
98
98
99
99
android :
100
100
@$(call print, "Building Android library ($(ANDROID_BUILD ) ) ." )
You can’t perform that action at this time.
0 commit comments