diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-05-07 13:23:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-05-07 13:23:45 +0200 |
commit | af7d705bd288fae70a2525de0fb0349b40797ce2 (patch) | |
tree | af1161f40166ef1ecc07487fcaf6a24016482872 | |
parent | c315da6043946df024155a5b8ca15c760d4ed92b (diff) |
Add missing dllexport declaration when compiling SQLite source file
-rw-r--r-- | libbutl-odb/buildfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl-odb/buildfile b/libbutl-odb/buildfile index be04ed0..10178bd 100644 --- a/libbutl-odb/buildfile +++ b/libbutl-odb/buildfile @@ -81,6 +81,9 @@ if! $sys_sqlite if! $windows c.poptions += -DHAVE_USLEEP=1 + if $windows + objs{*}: c.poptions += '-DSQLITE_API=__declspec(dllexport)' + if $gcc c.coptions += -fno-strict-aliasing |