fix(mk): ios must depend on copying the psiphon config (#346)

See https://github.com/ooni/probe/issues/1468
This commit is contained in:
Simone Basso 2021-05-13 09:14:10 +02:00 committed by GitHub
parent a4cf473ee9
commit 7e3455caac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
mk
View File

@ -451,7 +451,7 @@ __android_build_with_ooni_go: search/for/go
#help:
#help: * `./mk ./MOBILE/ios/framework`: the framework
.PHONY: ./MOBILE/ios/oonimkall.framework
./MOBILE/ios/oonimkall.framework: search/for/go search/for/xcode
./MOBILE/ios/oonimkall.framework: search/for/go search/for/xcode maybe/copypsiphon
go get -u golang.org/x/mobile/cmd/gomobile
$(GOMOBILE) init
PATH=$(shell go env GOPATH)/bin:$$PATH $(GOMOBILE) bind -target ios -o $@ -tags="$(OONI_PSIPHON_TAGS)" -ldflags '-s -w' $(GOLANG_EXTRA_FLAGS) ./pkg/oonimkall