net-misc/curl: Sync with Gentoo

It's from Gentoo commit 4f820e90165cb71b87c468dcd05b34c35e08898f.
This commit is contained in:
Flatcar Buildbot 2023-09-11 07:12:55 +00:00 committed by Krzesimir Nowak
parent d6d74ea806
commit 6421b6a494
2 changed files with 12 additions and 0 deletions

View File

@ -276,6 +276,12 @@ multilib_src_configure() {
)
fi
if [[ ${CHOST} == *mingw* ]] ; then
myconf+=(
--disable-pthreads
)
fi
ECONF_SOURCE="${S}" econf "${myconf[@]}"
if ! multilib_is_native_abi; then

View File

@ -282,6 +282,12 @@ multilib_src_configure() {
)
fi
if [[ ${CHOST} == *mingw* ]] ; then
myconf+=(
--disable-pthreads
)
fi
ECONF_SOURCE="${S}" econf "${myconf[@]}"
if ! multilib_is_native_abi; then