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 {
71
71
72
72
$foundItems = @ ()
73
73
$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 {
76
76
$libraryFilesFound += $_
77
77
}
78
78
}
79
79
$libraryFilesFound | Select-Object - Unique | ForEach-Object {
80
80
if ($_ ) {
81
81
switch ($_ ) {
82
+ SETUP_ZLIB_LIB { $library = " zlib" }
83
+ SETUP_OPENSSL { $library = " openssl" }
84
+ SETUP_SQLITE3 { $library = " sqlite" }
82
85
libeay32.lib { $library = " openssl" }
83
86
ssleay32.lib { $library = " openssl" }
84
87
Default { $library = Find-Library $_ $VsVersions }
You can’t perform that action at this time.
0 commit comments