aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-07 13:23:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-07 13:23:45 +0200
commitaf7d705bd288fae70a2525de0fb0349b40797ce2 (patch)
treeaf1161f40166ef1ecc07487fcaf6a24016482872
parentc315da6043946df024155a5b8ca15c760d4ed92b (diff)
Add missing dllexport declaration when compiling SQLite source file
-rw-r--r--libbutl-odb/buildfile3
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