pgsql2sqlite:also link -ldl on linux

This commit is contained in:
Dane Springmeyer 2017-04-19 18:10:03 -07:00
parent 9e7c842a26
commit 359372d3b2

View file

@ -54,6 +54,9 @@ else:
# Link Library to Dependencies
libraries = copy(program_env['LIBS'])
if env['RUNTIME_LINK'] == 'static' and env['PLATFORM'] == 'Linux':
libraries.append('dl')
if env['HAS_CAIRO']:
program_env.PrependUnique(CPPPATH=env['CAIRO_CPPPATHS'])
program_env.Append(CPPDEFINES = '-DHAVE_CAIRO')