mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
openssl: make this cross buildable.
This commit is contained in:
parent
bf0014a62e
commit
fc06a7cc36
1 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,7 @@ _openssl_version=1.0.1
|
||||||
version=${_openssl_version}c
|
version=${_openssl_version}c
|
||||||
revision=1
|
revision=1
|
||||||
fulldepends="perl"
|
fulldepends="perl"
|
||||||
|
crossmakedepends="zlib-devel"
|
||||||
conf_files="/etc/ssl/openssl.cnf"
|
conf_files="/etc/ssl/openssl.cnf"
|
||||||
subpackages="libssl openssl-devel"
|
subpackages="libssl openssl-devel"
|
||||||
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
||||||
|
@ -30,12 +31,14 @@ do_configure() {
|
||||||
_opts="enable-ec_nistp_64_gcc_128"
|
_opts="enable-ec_nistp_64_gcc_128"
|
||||||
elif [ "${XBPS_MACHINE}" = "i686" ]; then
|
elif [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||||
_target="linux-elf"
|
_target="linux-elf"
|
||||||
|
elif [ "${XBPS_MACHINE}" = "armv6l" ]; then
|
||||||
|
_target="linux-armv4"
|
||||||
fi
|
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 \
|
${_target} -Wa,--noexecstack \
|
||||||
"${CFLAGS}" "${LDFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT
|
"${CFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue