]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix `$IS_MAC` usage in c_sharp generation
authorMatt Corallo <git@bluematt.me>
Sat, 2 Mar 2024 03:22:40 +0000 (03:22 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 2 Mar 2024 03:22:40 +0000 (03:22 +0000)
genbindings.sh

index 531180141b4ed054fd6cd8af72761f4fc6e0a35b..fb56a978e2ca1e3f3ff075c49aecb75a22628742 100755 (executable)
@@ -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>.*<\/version>/<version>${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/org.ldk.nuspec
                sed -i "s/<version>.*<\/version>/<version>${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/package/services/metadata/core-properties/ldk.psmdcp