1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-18 05:00:03 +02:00

debian/rules: pass PREFIX=/usr to INSTALL_FLAGS as debian packages should not install anything in /usr/local

This commit is contained in:
Henrik Hautakoski 2022-08-21 20:15:30 +02:00
parent 08e7041246
commit 83edcac967
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

2
debian/rules vendored
View file

@ -2,7 +2,7 @@
include /usr/share/dpkg/default.mk
INSTALL_FLAGS := GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w\""
INSTALL_FLAGS := PREFIX=/usr GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w\""
%:
dh $@ -P debian/pkgroot