artemp/trac2github — Issue #812: image_reader registration fails silently if static libmapnik.a is used
Author: artemp
Created: 2011-10-09 20:51:59+00:00
State: open
Labels: Core_Library

Currently our SCons build does not support creating a static lib (libmapnik.a), only a dynamic library. But, its not hard to change this and builds work 99% perfectly as long as a few extra linkflags are passed for dependency linking and plugin SConscripts are modified to link to libmapnik.a.

However it appears that from node-mapnik at least, linking a libmapnik.a breaks image_reader registration. Ideally this registration could throw if it is not intended to work with static linking or we could fix it so that it does.

Downstream issue is at: https://github.com/mapnik/node-mapnik/issues/54