diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-02-10 13:36:09 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-05 12:26:10 +0200 |
| commit | 53b31fa9f103d8262b7c1d28c5714238902e5081 (patch) | |
| tree | 5aa56e5e756f33f3753f5b5b4decdefe4782db61 /exports/Makefile | |
| parent | 23e63807085b13a9b221c3374d05099559583011 (diff) | |
Move python library load to init and fix build
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
Diffstat (limited to 'exports/Makefile')
| -rw-r--r-- | exports/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
