diff options
Diffstat (limited to 'exports/Makefile')
| -rw-r--r-- | exports/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exports/Makefile b/exports/Makefile index 67ddc61..cfb9604 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -1,6 +1,6 @@ .PHONY: build copy-to clean -include platform.mk +include common.mk ifeq ($(LIB_SUFFIX),.so) # Add SONAME as cgo does not currently do this. Mostly for Android, see https://stackoverflow.com/a/48291044 @@ -11,7 +11,7 @@ endif build: lib/$(GOOS)/$(GOARCH)/$(LIB_FILE) # Build shared library and remove lib prefix (if any) from header name -# GOOS and GOARCH envvars are set by platform.mk +# GOOS and GOARCH envvars are set by common.mk # This extra target prevents unnecessary rebuild lib/$(GOOS)/$(GOARCH)/$(LIB_FILE): exports.go ../verify.go CGO_ENABLED=1 go build -o $@ -buildmode=c-shared $< |
