diff options
| author | Triang3l <triang3l@yandex.ru> | 2021-07-20 20:16:39 +0300 |
|---|---|---|
| committer | Triang3l <triang3l@yandex.ru> | 2021-07-20 20:16:39 +0300 |
| commit | a7efdd9ed80f98b98212ea18a9ca6993126d8b29 (patch) | |
| tree | 7292819125ecd82009a4845843685e7e63ed686b /tools | |
| parent | 1e0237d404529a82fe59ee01e2a824b992d2d2d0 (diff) | |
[Build] Run pkg_config only on Linux, not all non-Windows
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build/scripts/pkg_config.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build/scripts/pkg_config.lua b/tools/build/scripts/pkg_config.lua index 9e565de57..2b3bb97f5 100644 --- a/tools/build/scripts/pkg_config.lua +++ b/tools/build/scripts/pkg_config.lua @@ -3,7 +3,7 @@ pkg_config = {} function pkg_config.cflags(lib) - if os.istarget("windows") then + if not os.istarget("linux") then return end buildoptions({ @@ -12,7 +12,7 @@ function pkg_config.cflags(lib) end function pkg_config.lflags(lib) - if os.istarget("windows") then + if not os.istarget("linux") then return end linkoptions({ |
