mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
ld library path for shared extension building
This commit is contained in:
parent
23ae3f60f3
commit
6fe8b591ce
3
.gitignore
vendored
3
.gitignore
vendored
@ -10,6 +10,9 @@ docker/source/
|
|||||||
# default source extract directory
|
# default source extract directory
|
||||||
/source/
|
/source/
|
||||||
|
|
||||||
|
# built by shared embed tests
|
||||||
|
/locale/
|
||||||
|
|
||||||
# default source download directory
|
# default source download directory
|
||||||
/downloads/
|
/downloads/
|
||||||
|
|
||||||
|
|||||||
@ -297,6 +297,7 @@ class Extension
|
|||||||
'CFLAGS' => $config['cflags'],
|
'CFLAGS' => $config['cflags'],
|
||||||
'LDFLAGS' => $config['ldflags'],
|
'LDFLAGS' => $config['ldflags'],
|
||||||
'LIBS' => $config['libs'],
|
'LIBS' => $config['libs'],
|
||||||
|
'LD_LIBRARY_PATH' => BUILD_LIB_PATH,
|
||||||
];
|
];
|
||||||
// prepare configure args
|
// prepare configure args
|
||||||
shell()->cd($this->source_dir)
|
shell()->cd($this->source_dir)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user