diff --git a/gzip/Makefile b/gzip/Makefile index 5511d40..3507ef4 100644 --- a/gzip/Makefile +++ b/gzip/Makefile @@ -2,8 +2,10 @@ prepare: git clone https://git.savannah.gnu.org/git/gzip.git/ cd gzip make: + ./configure --prefix=$prefix/usr --host=$LFS_TGT make CC="${CC:-cc} -static" install: + make DESTDIR=$LFS install install -Dm755 pigz "$1/usr/bin/pigz" install -Dm755 unpigz "$1/usr/bin/unpigz" install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1" diff --git a/openssl/Makefile b/openssl/Makefile index ee7aa80..d828a45 100644 --- a/openssl/Makefile +++ b/openssl/Makefile @@ -2,8 +2,8 @@ prepare: git clone https://github.com/openssl/openssl.git cd openssl make: - ./config --prefix=/usr \ - --openssldir=/etc/ssl \ + ./config --prefix=$prefix/usr \ + --openssldir=$prefix/etc/ssl \ --libdir=lib \ shared \ zlib-dynamic