libressl: re-run libtoolize to fix musl cross compilation.

This commit is contained in:
Juan RP 2015-02-26 07:37:21 +01:00
parent 68e78118d9
commit a927c2e34d

View file

@ -15,6 +15,13 @@ checksum=eb2f370971408fb10af6453e556465c8eee728ac333bf1eb47ec1a5112304f7c
# Compat pkg that depends on the real pkgs.
depends="libcrypto30-${version}_${revision} libssl30-${version}_${revision} libtls1-${version}_${revision}"
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libtool"
pre_configure() {
libtoolize -f
}
fi
post_build() {
$CC -Wall $CFLAGS -DHAVE_STRNDUP -Iinclude -Lcrypto/.libs \
$LDFLAGS ${FILESDIR}/c_rehash.c -o ${wrksrc}/c_rehash -lcrypto