diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 12:08:23 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 12:08:23 +0200 |
| commit | 2cffe792d8070f37345056e8c88379aa8a2774fd (patch) | |
| tree | 2b87d1c8b16dd3492b8123707b1f21a0306c7318 /exports/Makefile | |
| parent | 09ec69dfdef409868f1cb39cb8cc4b33c8690c9f (diff) | |
Version: Ensure that we load a specific one
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 1434f8b..6608ee0 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -18,7 +18,7 @@ endif # This extra target prevents unnecessary rebuild lib/$(GOOS)/$(GOARCH)/$(LIB_FILE): .. 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 + mv lib/$(GOOS)/$(GOARCH)/$(LIB_PREFIX)$(LIB_NAME_VERSION).h lib/$(GOOS)/$(GOARCH)/$(LIB_NAME).h || true # Normalize header name clean: rm -rf ../exports/lib/* |
