From b60ecf2fe5ddfe506e02093286b3931873187e91 Mon Sep 17 00:00:00 2001 From: StevenWdV Date: Fri, 4 Feb 2022 01:18:12 +0100 Subject: More Makefile cleanup, support building in folder with spaces --- wrappers/swift/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wrappers/swift/README.md') diff --git a/wrappers/swift/README.md b/wrappers/swift/README.md index f28b028..9b0fdfe 100644 --- a/wrappers/swift/README.md +++ b/wrappers/swift/README.md @@ -21,11 +21,12 @@ make GOOS=linux GOARCH=amd64 When using this library, you will need to make sure that the linker can find the shared Go library. -On Windows, you will also need to generate a .lib import library for the .dll. You can +
Windows +On Windows, you will also need to generate a .lib import library for the .dll. You can use `exports/generate_lib.ps1` for this, passing in the path to the DLL file. Execute this from a Visual Studio Developer shell before building the Swift project. Alternatively, you could use `objdump` and `llvm-dlltool`. You only need to update this if the list of -exported symbols changes. +exported symbols changes.
If you just want to copy over the C header file to the right directory for the modulemap in `CEduVpnCommon`, run: @@ -34,7 +35,7 @@ make install-header ``` If you do not build this as part of the full repository, specify `EXPORTS_PATH="path/to/exports-folder"` when calling -make. This folder must contain `platform.mk` and the `lib/` folder with built libraries and headers. +make. This folder must contain `common.mk` and the `lib/` folder with built libraries and headers. Test: -- cgit v1.2.3