aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cairo.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb
index 9cd76b67c..e171712fa 100644
--- a/Library/Formula/cairo.rb
+++ b/Library/Formula/cairo.rb
@@ -14,6 +14,7 @@ class Cairo < Formula
depends_on 'pixman'
depends_on 'pkg-config' => :build
depends_on 'xz'=> :build
+ depends_on 'glib' unless build.include? 'without-x'
depends_on :x11 unless build.include? 'without-x'
# Fixes a build error with clang & universal, where a function was implicit.