scons: add postgres lib manually after switch to using pg_config for libs and includes (nice catch podolsir)

This commit is contained in:
Dane Springmeyer 2009-03-06 16:12:39 +00:00
parent ff30cfd121
commit 5c426d08f9
2 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,7 @@ Patches
- Dražen Odobašić
- Martijn van Oosterhout
- Cameron Patrick
- Igor Podolskiy
- Marcin Rudowski
- Reid Priedhorsky
- Brian Quinion

View file

@ -291,6 +291,9 @@ def parse_pg_config(context, config):
inc_path = call('%s --includedir' % env[config])
env.AppendUnique(CPPPATH = inc_path)
env.AppendUnique(LIBPATH = lib_path)
lpq = env['PLUGINS']['postgis']['lib']
import pdb;pdb.set_trace()
env.Append(LIBS = lpq)
else:
env['SKIPPED_DEPS'].append(tool)
context.Result( ret )