From 2c4caca9dd770d9b4ae23a8d417c89b3626228e9 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 2 Mar 2024 03:22:40 +0000 Subject: [PATCH] Fix `$IS_MAC` usage in c_sharp generation --- genbindings.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/genbindings.sh b/genbindings.sh index 53118014..fb56a978 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -125,11 +125,6 @@ if [ "$2" = "c_sharp" ]; then cat header.c >> c_sharp/bindings.c cat c_sharp/bindings.c.body >> c_sharp/bindings.c - IS_MAC=false - [ "$($CC --version | grep apple-darwin)" != "" ] && IS_MAC=true - IS_APPLE_CLANG=false - [ "$($CC --version | grep "Apple clang version")" != "" ] && IS_APPLE_CLANG=true - if is_gnu_sed; then sed -i "s/.*<\/version>/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/org.ldk.nuspec sed -i "s/.*<\/version>/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/package/services/metadata/core-properties/ldk.psmdcp -- 2.39.5