diff --git a/INSTALL.md b/INSTALL.md index e7b2aeddd..04e9ecaf9 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -79,6 +79,7 @@ Additional optional dependencies: * libsqlite3 - SQLite input (needs RTree support builtin) (sqlite plugin support) * libocci - Oracle input plugin support * libcurl - OSM input plugin support + * librasterlite - Rasterlite input plugin support Instructions for installing many of these dependencies on various platforms can be found at the Mapnik Wiki: diff --git a/src/build.py b/src/build.py index a57496be4..292d779f8 100644 --- a/src/build.py +++ b/src/build.py @@ -98,8 +98,6 @@ if '-DBOOST_REGEX_HAS_ICU' in env['CPPDEFINES']: if env['RUNTIME_LINK'] == 'static': if 'icuuc' in env['ICU_LIB_NAME']: lib_env['LIBS'].append('icudata') - if env['PLATFORM'] == 'Linux': - lib_env['LIBS'].append('dl') else: lib_env['LIBS'].insert(0, 'agg') @@ -120,6 +118,7 @@ else: # unix, non-macos else: mapnik_lib_link_flag += ' -Wl,-h,%s' % mapnik_libname else: # Linux and others + lib_env['LIBS'].append('dl') mapnik_lib_link_flag += ' -Wl,-rpath-link,. -Wl,-soname,%s' % mapnik_libname source = Split(