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
/source/
# built by shared embed tests
/locale/
# default source download directory
/downloads/

View File

@ -297,6 +297,7 @@ class Extension
'CFLAGS' => $config['cflags'],
'LDFLAGS' => $config['ldflags'],
'LIBS' => $config['libs'],
'LD_LIBRARY_PATH' => BUILD_LIB_PATH,
];
// prepare configure args
shell()->cd($this->source_dir)