Use isStatic instead of isStaticTarget

This commit is contained in:
crazywhalecc
2025-06-29 22:49:48 +08:00
parent 956688d9f4
commit e1e48922de
8 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ trait pkgconfig
UnixAutoconfExecutor::create($this)
->appendEnv([
'CFLAGS' => PHP_OS_FAMILY !== 'Linux' ? '-Wimplicit-function-declaration -Wno-int-conversion' : '',
'LDFLAGS' => SPCTarget::isStaticTarget() ? '--static' : '',
'LDFLAGS' => SPCTarget::isStatic() ? '--static' : '',
])
->configure(
'--with-internal-glib',