summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-12-23 02:57:31 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2009-12-23 02:57:31 +0100
commit91e6eecfd4d75dcb2943203ca9739711a9a888ce (patch)
tree0ba8600e1cb4e314c4116d46d375f4d10ca6199d /SConstruct
parent65d29f76687a258e824b5f9a0ffaea912e086aea (diff)
Fixed recursive adding.
Removed Imlib2 dependency.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 4aae244..31244fb 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,7 +1,7 @@
env = Environment()
conf = Configure(env)
-for lib, h in (('Imlib2', 'Imlib2.h'), ('glib-2.0', None), ('sqlite3', 'sqlite3.h'), ('gtk-x11-2.0', None)):
+for lib, h in (('glib-2.0', None), ('sqlite3', 'sqlite3.h'), ('gtk-x11-2.0', None), ('gthread-2.0', None)):
if h:
libfound = conf.CheckLibWithHeader(lib, h, 'c')
else:
@@ -13,10 +13,10 @@ env = conf.Finish()
env.Append(CCFLAGS = ['-std=gnu99', '-g'])
env.Append(LINKFLAGS = ['-Wl,--export-dynamic'])
-env.ParseConfig('imlib2-config --cflags --libs')
env.ParseConfig('pkg-config --cflags --libs glib-2.0')
env.ParseConfig('pkg-config --cflags --libs sqlite3')
env.ParseConfig('pkg-config --cflags --libs gtk+-2.0')
+env.ParseConfig('pkg-config --cflags --libs gthread-2.0')
def build_ui(target, source, env):
f = open(str(target[0]), 'w')