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

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)