From 58cb340107caf29e2e2bc2a2aa12b82ef92bde9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 11 Jun 2011 15:56:31 +0200
Subject: Explicitly link against gobject.

This is required for newer linkers (gold) on Linux.

diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 6914880..2eefbc9 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -444,7 +444,7 @@ if env["PLATFORM"] != "win32" and env["PLATFORM"] != "darwin" :
 	conf = Configure(gconf_env, custom_tests = {"CheckPKG": CheckPKG})
 	if conf.CheckPKG("gconf-2.0") :
 		gconf_bare_env = Environment()
-		gconf_bare_env.ParseConfig('pkg-config --cflags gconf-2.0 --libs gconf-2.0')
+		gconf_bare_env.ParseConfig('pkg-config --cflags gconf-2.0 gobject-2.0 --libs gconf-2.0 gobject-2.0')
 		gconf_flags = {
 				"LIBS": gconf_bare_env["LIBS"],
 				"CCFLAGS": gconf_bare_env["CCFLAGS"],
-- 
cgit v0.10.2-6-g49f6