mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
fix rdkafka
This commit is contained in:
parent
683371adaa
commit
38dfcdabd0
@ -33,4 +33,12 @@ class rdkafka extends Extension
|
||||
$pkgconf_libs = trim(implode('', $pkgconf_libs));
|
||||
return '--with-rdkafka=' . BUILD_ROOT_PATH . ' LIBS="' . $pkgconf_libs . '"';
|
||||
}
|
||||
|
||||
public function getUnixConfigureArg(bool $shared = false): string
|
||||
{
|
||||
if ($shared) {
|
||||
return '--with-rdkafka=' . BUILD_ROOT_PATH;
|
||||
}
|
||||
return parent::getUnixConfigureArg($shared);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user