mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
reorder stuff for readline
This commit is contained in:
parent
4e2d4f3f05
commit
31906b36e5
@ -343,6 +343,15 @@
|
|||||||
],
|
],
|
||||||
"cpp-library": true
|
"cpp-library": true
|
||||||
},
|
},
|
||||||
|
"libedit": {
|
||||||
|
"source": "libedit",
|
||||||
|
"static-libs-unix": [
|
||||||
|
"libedit.a"
|
||||||
|
],
|
||||||
|
"lib-depends": [
|
||||||
|
"ncurses"
|
||||||
|
]
|
||||||
|
},
|
||||||
"libevent": {
|
"libevent": {
|
||||||
"source": "libevent",
|
"source": "libevent",
|
||||||
"static-libs-unix": [
|
"static-libs-unix": [
|
||||||
|
|||||||
@ -489,6 +489,16 @@
|
|||||||
"path": "COPYING"
|
"path": "COPYING"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"libedit": {
|
||||||
|
"type": "filelist",
|
||||||
|
"url": "https://thrysoee.dk/editline/",
|
||||||
|
"regex": "/href=\"(?<file>libedit-(?<version>[^\"]+)\\.tar\\.gz)\"/",
|
||||||
|
"provide-pre-built": true,
|
||||||
|
"license": {
|
||||||
|
"type": "file",
|
||||||
|
"path": "COPYING"
|
||||||
|
}
|
||||||
|
},
|
||||||
"libevent": {
|
"libevent": {
|
||||||
"type": "ghrel",
|
"type": "ghrel",
|
||||||
"repo": "libevent/libevent",
|
"repo": "libevent/libevent",
|
||||||
@ -946,16 +956,6 @@
|
|||||||
"path": "LICENSE"
|
"path": "LICENSE"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libedit": {
|
|
||||||
"type": "filelist",
|
|
||||||
"url": "https://thrysoee.dk/editline/",
|
|
||||||
"regex": "/href=\"(?<file>editline-(?<version>[^\"]+)\\.tar\\.gz)\"/",
|
|
||||||
"provide-pre-built": true,
|
|
||||||
"license": {
|
|
||||||
"type": "file",
|
|
||||||
"path": "COPYING"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"readline": {
|
"readline": {
|
||||||
"type": "filelist",
|
"type": "filelist",
|
||||||
"url": "https://ftp.gnu.org/pub/gnu/readline/",
|
"url": "https://ftp.gnu.org/pub/gnu/readline/",
|
||||||
|
|||||||
@ -23,7 +23,7 @@ class readline extends Extension
|
|||||||
|
|
||||||
public function getUnixConfigureArg(bool $shared = false): string
|
public function getUnixConfigureArg(bool $shared = false): string
|
||||||
{
|
{
|
||||||
return '--with-libedit=' . BUILD_ROOT_PATH . ' --without-readline';
|
return '--with-libedit --without-readline';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function buildUnixShared(): void
|
public function buildUnixShared(): void
|
||||||
|
|||||||
@ -11,9 +11,7 @@ trait libedit
|
|||||||
protected function build(): void
|
protected function build(): void
|
||||||
{
|
{
|
||||||
UnixAutoconfExecutor::create($this)
|
UnixAutoconfExecutor::create($this)
|
||||||
->configure(
|
->configure()
|
||||||
'--with-curses'
|
|
||||||
)
|
|
||||||
->make();
|
->make();
|
||||||
$this->patchPkgconfPrefix(['libedit.pc']);
|
$this->patchPkgconfPrefix(['libedit.pc']);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user