X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=plugins%2Fgnu%2Fgnuplugin.cpp;fp=plugins%2Fgnu%2Fgnuplugin.cpp;h=5a600aff1ad2b7bf3d30b991e15be35de2e50c6e;hp=db8c300eeb6598237e569e0863df0149552c2482;hb=ba5078a4334ef419aeb1949190a743a05037750c;hpb=a8dd31308dfef6da930c261779d4e9ebfc2af838 diff --git a/plugins/gnu/gnuplugin.cpp b/plugins/gnu/gnuplugin.cpp index db8c300..5a600af 100644 --- a/plugins/gnu/gnuplugin.cpp +++ b/plugins/gnu/gnuplugin.cpp @@ -7,6 +7,7 @@ void GnuPlugin::add_tools(Toolchain &toolchain, const Architecture &arch) const } +#ifdef GNUTOOLS_BUILD #if defined(_WIN32) #define GNUTOOLS_API __declspec(dllexport) #elif defined(__GNUC__) @@ -20,3 +21,4 @@ GNUTOOLS_API Plugin *create_plugin(Builder &builder) { return new GnuPlugin(builder); } +#endif