std_meson_args: add --wrap-mode=nofallback

Otherwise projects may download missing dependencies and build and
install them. GNOME projects do this a lot in particular.
This commit is contained in:
Tom Schoonjans 2020-09-08 14:58:20 +01:00
parent 2ec8266697
commit 6af2b6db31

View File

@ -1408,7 +1408,7 @@ class Formula
# Standard parameters for meson builds.
def std_meson_args
["--prefix=#{prefix}", "--libdir=#{lib}", "--buildtype=release"]
["--prefix=#{prefix}", "--libdir=#{lib}", "--buildtype=release", "--wrap-mode=nofallback"]
end
def shared_library(name, version = nil)