From a4aee2eb59cf43da41cf78942e71640d8f9bff7b Mon Sep 17 00:00:00 2001 From: Blake Thompson Date: Mon, 15 Jun 2015 14:53:42 -0500 Subject: [PATCH] Added an update to mapnik config so that it can provide relative path to libraries better in node mapnik. --- utils/mapnik-config/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mapnik-config/build.py b/utils/mapnik-config/build.py index 987dd259c..7f9e1c903 100644 --- a/utils/mapnik-config/build.py +++ b/utils/mapnik-config/build.py @@ -67,7 +67,7 @@ cxxflags = ' '.join(config_env['LIBMAPNIK_CXXFLAGS']) defines = ' '.join(config_env['LIBMAPNIK_DEFINES']) -dep_includes = ''.join([' -I%s' % i for i in config_env['CPPPATH'] if not i.startswith('#')]) +dep_includes = ''.join([' -I${NODE_CONFIG_PREFIX:-""}%s' % i for i in config_env['CPPPATH'] if not i.startswith('#')]) dep_includes += ' '