]> git.tdb.fi Git - builder.git/blobdiff - source/lib/importlibrary.h
Add visibility decorations to the library and plugins
[builder.git] / source / lib / importlibrary.h
index 1c5d682a3be001a61fc2003b4485eeec94a94686..fbcd98ee88521ec2d2384e49e6230f9543279fb4 100644 (file)
@@ -2,6 +2,7 @@
 #define IMPORTLIBRARY_H_
 
 #include "filetarget.h"
+#include "libbuilder_api.h"
 
 class ExportDefinitions;
 class SharedLibrary;
@@ -10,14 +11,14 @@ class SharedLibrary;
 A special case of static library which pulls in a shared library.  Used on
 platforms with no true dynamic linking support.
 */
-class ImportLibrary: public FileTarget
+class LIBBUILDER_API ImportLibrary: public FileTarget
 {
 private:
        SharedLibrary *shared_lib = 0;
 
 public:
        ImportLibrary(Builder &b, const Msp::FS::Path &p): FileTarget(b, p) { }
-       ImportLibrary(Builder &, const Component &, SharedLibrary &, ExportDefinitions &);
+       ImportLibrary(Builder &, const Component &, SharedLibrary &);
 private:
        static std::string generate_filename(const Component &, const SharedLibrary &);