Skip to content

Commit

Permalink
fix: Fixes mobile agent build (ios) (hyperledger-archives#2350)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Soluk <[email protected]>

Co-authored-by: Andriy Soluk <[email protected]>
  • Loading branch information
soluchok and Andriy Soluk authored Nov 27, 2020
1 parent 8aeb39f commit a71550e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/aries-agent-mobile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies:
@echo '----------------------------------------'
@echo ' Installing dependencies '
@echo '----------------------------------------'
@GO111MODULE=off go get golang.org/x/mobile/cmd/gomobile
@GO111MODULE=off go get -u golang.org/x/mobile/cmd/...
$(GOMOBILE_CMD) init -v

.PHONY: bindings
Expand All @@ -89,7 +89,7 @@ bindings-ios:
@echo '----------------------------------------'
ifeq ($(IS_MACOS),true)
@mkdir -p $(IOS_BUILD_DIR)
$(GOMOBILE_CMD) bind -v -ldflags $(LDFLAGS) -target=$(IOS_TARGET) -o=$(IOS_BUILD_DIR)/$(IOS_OUTPUT_FILE_NAME) $(MOBILE_BUILD_PACKAGES)
@CGO_LDFLAGS_ALLOW='-fembed-bitcode' $(GOMOBILE_CMD) bind -v -ldflags $(LDFLAGS) -target=$(IOS_TARGET) -o=$(IOS_BUILD_DIR)/$(IOS_OUTPUT_FILE_NAME) $(MOBILE_BUILD_PACKAGES)
else
@echo 'Skipping iOS bindings. Only available for Darwin operating systems.'
endif
Expand Down

0 comments on commit a71550e

Please sign in to comment.