make ScriptRun class visible

This commit is contained in:
Artem Pavlenko 2019-11-06 15:08:30 +00:00
parent f33e318ac5
commit 9e82006314
2 changed files with 2 additions and 2 deletions

View file

@ -17,6 +17,7 @@
#ifndef __SCRPTRUN_H
#define __SCRPTRUN_H
#include <mapnik/config.hpp>
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <unicode/utypes.h>
@ -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();

View file

@ -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}'))