diff options
author | Wolfy-J <[email protected]> | 2019-02-22 13:49:58 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2019-02-22 13:49:58 +0300 |
commit | 9a20f293659b74d474bd15c63f440d8471f7d8b6 (patch) | |
tree | d79a599f2a4ae807862488c8d2e5b1c82601cd97 | |
parent | 3c1923606c7b5391678b7a760772c8e55f046025 (diff) | |
parent | 41931397c001371e5b464fa944b8f739a7656aa6 (diff) |
Merge pull request #127 from shmurakami/build-os
Fix build issue on macOS
-rw-r--r-- | qbuild/src/Builder.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qbuild/src/Builder.php b/qbuild/src/Builder.php index 5568d725..4b441094 100644 --- a/qbuild/src/Builder.php +++ b/qbuild/src/Builder.php @@ -137,14 +137,14 @@ final class Builder { $os = strtolower(PHP_OS); - if (strpos($os, 'win') !== false) { - return 'windows'; - } - if (strpos($os, 'darwin') !== false) { return 'darwin'; } + if (strpos($os, 'win') !== false) { + return 'windows'; + } + return "linux"; } @@ -234,4 +234,4 @@ final class Builder return false; } } -}
\ No newline at end of file +} |