File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,17 @@ Function Get-LibrariesFromConfig {
7171
7272 $foundItems = @ ()
7373 $libraryFilesFound = @ ()
74- [regex ]::Matches($ConfigW32Content , ' CHECK_LIB\(["'' ]([^"'' ]+)["'' ]|["'' ]([^"'' ]+\.lib)["'' ]|(\w+\.lib)' ) | ForEach-Object {
75- $_.Groups [1 ].Value.Split(' ;' ) + ($_.Groups [2 ].Value -Split ' [^\w\.]' ) + ($_.Groups [3 ].Value -Split ' [^\w\.]' ) | ForEach-Object {
74+ [regex ]::Matches($ConfigW32Content , ' CHECK_LIB\(["'' ]([^"'' ]+)["'' ]|["'' ]([^"'' ]+\.lib)["'' ]|(\w+\.lib)|(SETUP_\w+) ' ) | ForEach-Object {
75+ $_.Groups [1 ].Value.Split(' ;' ) + ($_.Groups [2 ].Value -Split ' [^\w\.]' ) + ($_.Groups [3 ].Value -Split ' [^\w\.]' ) + ( $_ .Groups [ 4 ].Value) | ForEach-Object {
7676 $libraryFilesFound += $_
7777 }
7878 }
7979 $libraryFilesFound | Select-Object - Unique | ForEach-Object {
8080 if ($_ ) {
8181 switch ($_ ) {
82+ SETUP_ZLIB_LIB { $library = " zlib" }
83+ SETUP_OPENSSL { $library = " openssl" }
84+ SETUP_SQLITE3 { $library = " sqlite" }
8285 libeay32.lib { $library = " openssl" }
8386 ssleay32.lib { $library = " openssl" }
8487 Default { $library = Find-Library $_ $VsVersions }
You can’t perform that action at this time.
0 commit comments