pgsql2sqlite:also link -ldl on linux

This commit is contained in:
Dane Springmeyer 2017-04-19 18:10:03 -07:00
parent 9f4a138b8b
commit 1632018a14

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')