ld library path for shared extension building

This commit is contained in:
henderkes 2025-05-15 19:52:30 +07:00
parent 23ae3f60f3
commit 6fe8b591ce
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@ -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/

View File

@ -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)