From 3757dd0a474414629cde71355f37cb08e8752f35 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 8 Mar 2025 16:37:23 -0600 Subject: [PATCH] fix: Improved compatibility of built package --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bbfe38c..7c173bd 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PREFIX := /usr/local PKGNAME := movie-rename build: - cargo build --release + cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.34 build-debug: cargo build @@ -19,6 +19,6 @@ uninstall: rm -f "$(DESTDIR)$(PREFIX)/man/man1/$(PKGNAME).1" aur: build - tar --transform 's/.*\///g' -czf $(PKGNAME).tar.gz target/release/$(PKGNAME) target/autocomplete/* $(PKGNAME).1 + tar --transform 's/.*\///g' -czf $(PKGNAME).tar.gz target/x86_64-unknown-linux-gnu/release/$(PKGNAME) target/autocomplete/* $(PKGNAME).1 .PHONY: build build-debug install clean uninstall aur