aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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