1 #ifndef IMPORTLIBRARY_H_
2 #define IMPORTLIBRARY_H_
4 #include "filetarget.h"
6 class ExportDefinitions;
10 A special case of static library which pulls in a shared library. Used on
11 platforms with no true dynamic linking support.
13 class ImportLibrary: public FileTarget
16 SharedLibrary *shared_lib;
19 ImportLibrary(Builder &, const Msp::FS::Path &);
20 ImportLibrary(Builder &, const Component &, SharedLibrary &, ExportDefinitions &);
22 static std::string generate_filename(const Component &, const SharedLibrary &);
25 virtual const char *get_type() const { return "ImportLibrary"; }
27 SharedLibrary *get_shared_library() const { return shared_lib; }