This commit is contained in:
DubbleClick
2025-05-21 14:29:49 +07:00
parent 3f8d297fb1
commit d349627fa1
3 changed files with 5 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ trait UnixLibraryTrait
// replace prefix
$file = FileSystem::readFile($realpath);
$file = str_replace(' /lib/', ' ' . BUILD_LIB_PATH . '/', $file);
+ $file = preg_replace('/^libdir=.*$/m', "libdir='" . BUILD_LIB_PATH . "'", $file);
$file = preg_replace('/^libdir=.*$/m', "libdir='" . BUILD_LIB_PATH . "'", $file);
FileSystem::writeFile($realpath, $file);
}
}