aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/build.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index 271e7f141..bad624afc 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -54,6 +54,8 @@ at_exit do
end
def install f
+ ENV.x11 if f.external_deps.any? { |dep| dep.is_a? X11Dependency }
+
f.recursive_deps.uniq.each do |dep|
dep = Formula.factory dep
if dep.keg_only?