summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2022-02-10 13:23:18 +0100
committerStevenWdV <stevenwdv@gmail.com>2022-02-10 13:36:25 +0100
commitc5a67a71d3c32e0d5c127d2fe2928f3457f98d9b (patch)
tree6d7588fa6750c20c87acf8c2af9a58bb27af00f1 /wrappers
parent054bf059c737703e5abb36875df6822c89904150 (diff)
Fix Swift wrapper on macOS
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/swift/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/wrappers/swift/Makefile b/wrappers/swift/Makefile
index 08171b6..659b51f 100644
--- a/wrappers/swift/Makefile
+++ b/wrappers/swift/Makefile
@@ -16,7 +16,8 @@ test: install-header
$(SWIFT) test --parallel -Xlinker -L"$(EXPORTS_LIB_SUBFOLDER_PATH)"
install-header: .try-build-lib
- install "$(EXPORTS_LIB_SUBFOLDER_PATH)/$(LIB_NAME).h" -Dt CEduVpnCommon/Sources/CEduVpnCommon/Headers # Copy header for modulemap
+ mkdir -p CEduVpnCommon/Sources/CEduVpnCommon/Headers
+ cp "$(EXPORTS_LIB_SUBFOLDER_PATH)/$(LIB_NAME).h" CEduVpnCommon/Sources/CEduVpnCommon/Headers/ # Copy header for modulemap
clean:
rm -rf .build/ CEduVpnCommon/Sources/CEduVpnCommon/Headers/*.h