diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-15 20:19:06 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-15 20:19:06 +0100 |
commit | 3ff195398245d187f0477ef6c83bd5ed5eb50b03 (patch) | |
tree | 8a3ce664c11df3e693dd4d0c18fcb87443490463 /SConstruct | |
parent | 14e35e4d1f2f8927685b0c55bdc1f5d6bd5a2e9f (diff) |
Added some ecpg stuff.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -3,7 +3,7 @@ AddOption('--release', action = 'store_true') env = Environment() conf = Configure(env) -for lib in ('config', 'pcre'): +for lib in ('config', 'pcre', 'xml2', 'ecpg'): if not conf.CheckLib(lib): print 'Could not find %s' % lib Exit(1) @@ -19,6 +19,11 @@ else: env.ParseConfig('pkg-config --cflags --libs libconfig') env.ParseConfig('pcre-config --cflags --libs') +build_ecpg = Builder(action = 'ecpg -o $TARGET $SOURCE') +env['BUILDERS']['ecpg'] = build_ecpg + +env.ecpg('pg.c', 'pg.pgc') + env.Program('ircstats', Glob('*.c')) # vim: syn=python |