From: Jose V Beneyto Date: Sat, 6 Mar 2010 09:55:38 +0000 (+0100) Subject: fixed LDFLAGS usage for Ubuntu's host compilation X-Git-Url: http://gitweb/?a=commitdiff_plain;h=22c894ee4e9a2381b4cb896d870af6782476a9cc;p=pkgutils-cross.git fixed LDFLAGS usage for Ubuntu's host compilation --- 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: