gtk+: always use our cairo
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
eabf735755
commit
713fb54fc2
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ class Gtkx < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# Always prefer our cairo over XQuartz cairo
|
||||
cairo = Formula.factory('cairo')
|
||||
ENV['CAIRO_BACKEND_CFLAGS'] = "-I#{cairo.include}/cairo"
|
||||
ENV['CAIRO_BACKEND_LIBS'] = "-L#{cairo.lib} -lcairo"
|
||||
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
|
|
Loading…
Reference in a new issue