From 22c894ee4e9a2381b4cb896d870af6782476a9cc Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Sat, 6 Mar 2010 10:55:38 +0100 Subject: [PATCH] fixed LDFLAGS usage for Ubuntu's host compilation --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83c4c85..81a024c 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,11 @@ all: src/pkgmk.conf src/pkgmk src/pkgmk: - @make -C src + @if grep -e ubuntu /proc/version >/dev/null; then \ + make -C src LDFLAGS="-static -larchive -lz -lacl"; \ + else \ + make -C src; \ + fi @chmod a+x src/pkgmk clean: -- 2.26.2