Files
proxmox-backup-arm64/patches/pve-xtermjs-cross.patch
2023-08-06 20:48:26 +00:00

25 lines
713 B
Diff

diff --git a/Makefile b/Makefile
index 01488d1..b398856 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,9 @@ DSC=rust-$(CRATENAME)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
CARGO ?= cargo
ifeq ($(BUILD_MODE), release)
CARGO_BUILD_ARGS += --release
-COMPILEDIR := target/release
+COMPILEDIR := target/aarch64-unknown-linux-gnu/release
else
-COMPILEDIR := target/debug
+COMPILEDIR := target/aarch64-unknown-linux-gnu/debug
endif
PREFIX = /usr
diff --git a/debian/install b/debian/install
index 0e69d82..bb555a8 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,2 @@
src/www/* /usr/share/pve-xtermjs/
-target/release/termproxy /usr/bin/
+target/aarch64-unknown-linux-gnu/release/termproxy /usr/bin/