summaryrefslogtreecommitdiff
path: root/exports/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'exports/Makefile')
-rw-r--r--exports/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/exports/Makefile b/exports/Makefile
index 86dbec2..b833228 100644
--- a/exports/Makefile
+++ b/exports/Makefile
@@ -16,7 +16,7 @@ endif
# Build shared library and remove lib prefix (if any) from header name
# GOOS and GOARCH envvars are set by common.mk
# This extra target prevents unnecessary rebuild
-lib/$(GOOS)/$(GOARCH)/$(LIB_FILE): exports.go ../src/*.go
+lib/$(GOOS)/$(GOARCH)/$(LIB_FILE): exports.go ..
CGO_ENABLED=1 go build -o $@ -buildmode=c-shared $<
mv lib/$(GOOS)/$(GOARCH)/$(LIB_PREFIX)$(LIB_NAME).h lib/$(GOOS)/$(GOARCH)/$(LIB_NAME).h || true # Normalize header name