summaryrefslogtreecommitdiff
path: root/cbindgen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cbindgen.patch')
-rw-r--r--cbindgen.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cbindgen.patch b/cbindgen.patch
index 33af6fa..d6ba086 100644
--- a/cbindgen.patch
+++ b/cbindgen.patch
@@ -22,3 +22,16 @@ index b6acf1b..089cbf7 100644
%if DIST == stretch
nodejs-mozilla (>= 10),
%else
+diff --git a/rules b/rules
+index 117197e..f462e5a 100755
+--- a/rules
++++ b/rules
+@@ -81,7 +81,7 @@ LIB_DIR := /usr/lib/$($(PRODUCT))
+ SHARE_DIR := /usr/share/$($(PRODUCT))
+
+ # Work around https://github.com/rust-lang/cargo/issues/7147
+-export CARGO_HOME=$(CURDIR)/debian/.cargo
++export CARGO_HOME=$(CURDIR)/.cargo
+
+ ifneq (,$(filter stretch,$(DIST)))
+ ifneq (,$(filter amd64 i386,$(DEB_HOST_ARCH)))
bgstack15