X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fbase%2Fbaseplugin.cpp;fp=plugins%2Fbase%2Fbaseplugin.cpp;h=0f05fa83fed5995e21f8d6858d94992b0a87bbad;hb=ba5078a4334ef419aeb1949190a743a05037750c;hp=0da610ce8def2237e7e490730c8e8a683ea90bb8;hpb=a8dd31308dfef6da930c261779d4e9ebfc2af838;p=builder.git diff --git a/plugins/base/baseplugin.cpp b/plugins/base/baseplugin.cpp index 0da610c..0f05fa8 100644 --- a/plugins/base/baseplugin.cpp +++ b/plugins/base/baseplugin.cpp @@ -24,6 +24,7 @@ void BasePlugin::create_targets(SourcePackage &spkg) const } +#ifdef BASETOOLS_BUILD #if defined(_WIN32) #define BASETOOLS_API __declspec(dllexport) #elif defined(__GNUC__) @@ -37,3 +38,4 @@ BASETOOLS_API Plugin *create_plugin(Builder &builder) { return new BasePlugin(builder); } +#endif