openssl: look for headers/libs in XBPS_MASTERDIR for the bootstrap build.
This commit is contained in:
		@@ -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}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user