use extern template to fix osx -flto bug - closes #2339
This commit is contained in:
parent
1dd0675856
commit
578da31702
2 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,9 @@ private:
|
|||
bool registered_;
|
||||
std::set<std::string> plugin_directories_;
|
||||
};
|
||||
|
||||
extern template class singleton<datasource_cache, CreateStatic>;
|
||||
|
||||
}
|
||||
|
||||
#endif // MAPNIK_DATASOURCE_CACHE_HPP
|
||||
|
|
|
@ -42,6 +42,8 @@
|
|||
|
||||
namespace mapnik {
|
||||
|
||||
template class singleton<datasource_cache, CreateStatic>;
|
||||
|
||||
extern datasource_ptr create_static_datasource(parameters const& params);
|
||||
extern std::vector<std::string> get_static_datasource_names();
|
||||
|
||||
|
|
Loading…
Reference in a new issue