From: Matt Corallo Date: Thu, 9 Nov 2023 22:10:17 +0000 (+0000) Subject: Add simple wrapper to call clang with a windows target X-Git-Tag: v0.0.118.1^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=commitdiff_plain;h=89def17bf6375e693485450e7e0ee660c13a7beb Add simple wrapper to call clang with a windows target This enables building for Windows with the existing LDK_C_BINDINGS_EXTRA_TARGETS and LDK_C_BINDINGS_EXTRA_TARGETS_CCS environment variables. --- diff --git a/deterministic-build-wrappers/clang-x86_64-windows b/deterministic-build-wrappers/clang-x86_64-windows new file mode 100755 index 0000000..31bb028 --- /dev/null +++ b/deterministic-build-wrappers/clang-x86_64-windows @@ -0,0 +1,2 @@ +#!/bin/bash +clang -target x86_64-pc-windows-gnu -L/usr/lib/gcc/x86_64-w64-mingw32/12-win32/ "$@"