From ccc90e525df1fc8dcbfd64d7bf20be5f05a23929 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 22 Jun 2020 23:50:03 -0400 Subject: fix glibc version in debian package this should make the built binary work on debian stable --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a95bf3b..937b1ab 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,8 @@ build: release: @cargo build --release --all-targets + @./bin/remove-glibc-2.29-use ./target/release/rbw + @mv ./target/release/rbw.new ./target/release/rbw .PHONY: release test: @@ -40,8 +42,8 @@ package: pkg/$(DEB_PACKAGE) pkg: @mkdir pkg -pkg/$(DEB_PACKAGE): | pkg - @cargo deb && mv target/debian/$(DEB_PACKAGE) pkg +pkg/$(DEB_PACKAGE): release | pkg + @cargo deb --no-build && mv target/debian/$(DEB_PACKAGE) pkg pkg/$(DEB_PACKAGE).minisig: pkg/$(DEB_PACKAGE) @minisign -Sm pkg/$(DEB_PACKAGE) -- cgit v1.2.3-54-g00ecf