libressl: re-run libtoolize to fix musl cross compilation.
This commit is contained in:
parent
68e78118d9
commit
a927c2e34d
@ -15,6 +15,13 @@ checksum=eb2f370971408fb10af6453e556465c8eee728ac333bf1eb47ec1a5112304f7c
|
|||||||
# Compat pkg that depends on the real pkgs.
|
# Compat pkg that depends on the real pkgs.
|
||||||
depends="libcrypto30-${version}_${revision} libssl30-${version}_${revision} libtls1-${version}_${revision}"
|
depends="libcrypto30-${version}_${revision} libssl30-${version}_${revision} libtls1-${version}_${revision}"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends="libtool"
|
||||||
|
pre_configure() {
|
||||||
|
libtoolize -f
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
$CC -Wall $CFLAGS -DHAVE_STRNDUP -Iinclude -Lcrypto/.libs \
|
$CC -Wall $CFLAGS -DHAVE_STRNDUP -Iinclude -Lcrypto/.libs \
|
||||||
$LDFLAGS ${FILESDIR}/c_rehash.c -o ${wrksrc}/c_rehash -lcrypto
|
$LDFLAGS ${FILESDIR}/c_rehash.c -o ${wrksrc}/c_rehash -lcrypto
|
||||||
|
Loading…
x
Reference in New Issue
Block a user