fix dynamic linking with ostd::build, ostd::fs
parent
6d53597d9a
commit
2286235786
|
@ -198,7 +198,7 @@ private:
|
|||
bool p_action = false;
|
||||
};
|
||||
|
||||
struct make_task {
|
||||
struct OSTD_EXPORT make_task {
|
||||
make_task() {}
|
||||
virtual ~make_task();
|
||||
|
||||
|
|
|
@ -1263,7 +1263,7 @@ using file_time_t = std::chrono::time_point<std::chrono::system_clock>;
|
|||
* up to two paths involved in the operation as ostd::path. Whether those
|
||||
* are used depends on the operation.
|
||||
*/
|
||||
struct fs_error: std::system_error {
|
||||
struct OSTD_EXPORT fs_error: std::system_error {
|
||||
/** @brief Constructs the error without paths. */
|
||||
fs_error(std::string const &warg, std::error_code ec):
|
||||
std::system_error::system_error(ec, warg)
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace ostd {
|
|||
namespace build {
|
||||
|
||||
/* place the vtable in here */
|
||||
make_task::~make_task() {}
|
||||
OSTD_EXPORT make_task::~make_task() {}
|
||||
|
||||
static bool check_exec(
|
||||
string_range tname, std::vector<string_range> const &deps
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace ostd {
|
|||
|
||||
/* place the vtables in here */
|
||||
|
||||
path_error::~path_error() {}
|
||||
OSTD_EXPORT path_error::~path_error() {}
|
||||
|
||||
namespace fs {
|
||||
fs_error::~fs_error() {}
|
||||
|
|
Loading…
Reference in New Issue