add cache file option to autoconf executor by default (if cflags and ldflags match default)

This commit is contained in:
DubbleClick
2025-07-02 11:47:20 +07:00
parent 0695fb9381
commit 5577cd0fab
5 changed files with 30 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ trait gettext
if ($this->builder->getOption('enable-zts')) {
$autoconf->addConfigureArgs('--enable-threads=isoc+posix')
->appendEnv([
'CFLAGS' => '-lpthread -D_REENTRANT',
'CFLAGS' => '-D_REENTRANT',
'LDFLGAS' => '-lpthread',
]);
} else {