openssl: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.
This commit is contained in:
parent
1a68dcc05d
commit
95031be4c2
|
@ -41,6 +41,11 @@ do_configure() {
|
|||
sed -i '/^"linux-elf/s/-DTERMIO/-DTERMIOS/' Configure
|
||||
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 \
|
||||
shared zlib enable-md2 threads ${_opts} \
|
||||
${_target} -Wa,--noexecstack "${CFLAGS}"
|
||||
|
|
Loading…
Reference in New Issue