From 2cc22dc7d21beec27c54766b6c866d1aba2c4033 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Thu, 15 Jul 2021 15:43:16 +0200 Subject: cargo.toml needs to be separate, it seems --- cbindgen.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cbindgen.patch') 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))) -- cgit