diff --git a/include/mapnik/text/scrptrun.hpp b/include/mapnik/text/scrptrun.hpp index d7e7b0bf6..bbf479881 100644 --- a/include/mapnik/text/scrptrun.hpp +++ b/include/mapnik/text/scrptrun.hpp @@ -17,6 +17,7 @@ #ifndef __SCRPTRUN_H #define __SCRPTRUN_H +#include #pragma GCC diagnostic push #include #include @@ -42,7 +43,7 @@ struct ParenStackEntry UScriptCode scriptCode = USCRIPT_INVALID_CODE; }; -class ScriptRun : public icu::UObject { +class MAPNIK_DECL ScriptRun : public icu::UObject { public: ScriptRun(); diff --git a/test/build.py b/test/build.py index 12c74446c..6771bae1f 100644 --- a/test/build.py +++ b/test/build.py @@ -35,7 +35,6 @@ else: # unit tests sources = glob.glob('./unit/*/*.cpp') sources.extend(glob.glob('./unit/*.cpp')) - sources.append('../src/text/scrptrun.cpp') test_program = test_env_local.Program("./unit/run", source=sources) Depends(test_program, env.subst('../src/%s' % env['MAPNIK_LIB_NAME'])) Depends(test_program, env.subst('../src/json/libmapnik-json${LIBSUFFIX}'))