From af7d705bd288fae70a2525de0fb0349b40797ce2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 May 2024 13:23:45 +0200 Subject: Add missing dllexport declaration when compiling SQLite source file --- libbutl-odb/buildfile | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1