mirror of
https://github.com/mapnik/mapnik.git
synced 2025-08-20 23:23:01 +00:00
pgsql2sqlite:also link -ldl on linux
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user