From f1855398c936d75d3a270be924098668e74955ad Mon Sep 17 00:00:00 2001 From: Mark Seaborn Date: Tue, 5 May 2009 22:46:00 +0100 Subject: [PATCH] Use the installed Gtk (from pkg-config) by default This fixes the build error: .../googleclient/third_party/gtk/linux/lib/libgtk-x11-2.0.so: undefined reference to `gdk_screen_get_font_options_libgtk_only' --- nonnacl_util/build.scons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonnacl_util/build.scons b/nonnacl_util/build.scons index 0fcb16b4..bc5f9ced 100644 --- a/nonnacl_util/build.scons +++ b/nonnacl_util/build.scons @@ -61,7 +61,7 @@ if env.Bit('linux'): # Optionally use pkg-config to get gtk. # On 64-bit assume we want to use pkgconfig. - if (os.environ.get('GTK_FROM_PKGCONFIG') or + if (int(os.environ.get('GTK_FROM_PKGCONFIG', '1')) or platform.architecture()[0]=='64bit'): # Use pkg-config to use a local copy of gtk. try: -- 2.11.4.GIT