Skip to content

Commit 2c4caca

Browse files
committed
Fix $IS_MAC usage in c_sharp generation
1 parent 89c7405 commit 2c4caca

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

genbindings.sh

-5
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ if [ "$2" = "c_sharp" ]; then
125125
cat header.c >> c_sharp/bindings.c
126126
cat c_sharp/bindings.c.body >> c_sharp/bindings.c
127127

128-
IS_MAC=false
129-
[ "$($CC --version | grep apple-darwin)" != "" ] && IS_MAC=true
130-
IS_APPLE_CLANG=false
131-
[ "$($CC --version | grep "Apple clang version")" != "" ] && IS_APPLE_CLANG=true
132-
133128
if is_gnu_sed; then
134129
sed -i "s/<version>.*<\/version>/<version>${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/org.ldk.nuspec
135130
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

0 commit comments

Comments
 (0)