From 53b31fa9f103d8262b7c1d28c5714238902e5081 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 10 Feb 2022 13:36:09 +0100 Subject: Move python library load to init and fix build Signed-off-by: jwijenbergh --- exports/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exports/Makefile') diff --git a/exports/Makefile b/exports/Makefile index 3dcf2f0..a23f211 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 ../verify.go +lib/$(GOOS)/$(GOARCH)/$(LIB_FILE): exports.go ../src/verify.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 -- cgit v1.2.3