From a47513aeeb728b6316ba6765afdd7e5adbf4f2e3 Mon Sep 17 00:00:00 2001 From: StevenWdV Date: Fri, 17 Dec 2021 15:21:53 +0100 Subject: Add PHP wrapper, use header for right platform for PHP & Swift, simplify Swift Windows fix --- exports/.gitignore | 1 - exports/Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'exports') diff --git a/exports/.gitignore b/exports/.gitignore index f916bcd..63ea916 100644 --- a/exports/.gitignore +++ b/exports/.gitignore @@ -1,2 +1 @@ /*/ -*.h diff --git a/exports/Makefile b/exports/Makefile index 9664144..b3dc3db 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -19,7 +19,7 @@ build: $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify$(LIB_SUFFIX) $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify$(LIB_SUFFIX): exports.go ../verify.go CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $@ -buildmode=c-shared $< - cp $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify.h ./eduvpn_verify.h + mv $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify.h $(GOOS)/$(GOARCH)/eduvpn_verify.h || true copy-to: $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify$(LIB_SUFFIX) install $< -Dt "$(COPY_TARGET)" -- cgit v1.2.3