summaryrefslogtreecommitdiffstats
path: root/patches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build')
-rwxr-xr-xpatches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/patches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build b/patches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
index 06116e43..a4659df2 100755
--- a/patches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
+++ b/patches/source/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
@@ -51,4 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-cargo install --force cbindgen
+cargo build --release
+rm /root/.cargo/bin 2> /dev/null
+mkdir -p /root/.cargo/bin
+install -Dm755 target/release/cbindgen /root/.cargo/bin