diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/src/osd/modules.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/src/osd/modules.lua b/scripts/src/osd/modules.lua index b532124302f..5b19ed4fc44 100644 --- a/scripts/src/osd/modules.lua +++ b/scripts/src/osd/modules.lua @@ -305,9 +305,11 @@ function osdmodulesbuild() } end - err = os.execute(pkgconfigcmd() .. " --exists libpipewire-0.3") - if not err then - _OPTIONS["NO_USE_PIPEWIRE"] = "1" + if _OPTIONS["NO_USE_PIPEWIRE"]=="0" then + err = os.execute(pkgconfigcmd() .. " --exists libpipewire-0.3") + if not err then + _OPTIONS["NO_USE_PIPEWIRE"] = "1" + end end if _OPTIONS["NO_USE_PIPEWIRE"]=="1" then @@ -320,7 +322,6 @@ function osdmodulesbuild() } end - if _OPTIONS["NO_USE_MIDI"]=="1" then defines { "NO_USE_MIDI", |