openssl: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.
This commit is contained in:
parent
1a68dcc05d
commit
95031be4c2
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ do_configure() {
|
||||||
sed -i '/^"linux-elf/s/-DTERMIO/-DTERMIOS/' Configure
|
sed -i '/^"linux-elf/s/-DTERMIO/-DTERMIOS/' Configure
|
||||||
sed -i 's/defined(linux)/0/' crypto/ui/ui_openssl.c
|
sed -i 's/defined(linux)/0/' crypto/ui/ui_openssl.c
|
||||||
|
|
||||||
|
if [ -z "$CHROOT_READY" ]; then
|
||||||
|
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
|
||||||
|
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
|
||||||
|
fi
|
||||||
|
|
||||||
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
|
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
|
||||||
shared zlib enable-md2 threads ${_opts} \
|
shared zlib enable-md2 threads ${_opts} \
|
||||||
${_target} -Wa,--noexecstack "${CFLAGS}"
|
${_target} -Wa,--noexecstack "${CFLAGS}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue