summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/databases.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 2353e3b731..b956833557 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2091,7 +2091,8 @@ Driver.")
     (arguments
      `(#:configure-flags
        ;; The tests require ODBC backends to be installed.
-       (list "-DNANODBC_DISABLE_TESTS=ON")
+       (list "-DNANODBC_DISABLE_TESTS=ON"
+             "-DBUILD_SHARED_LIBS=ON")
        #:tests? #false))
     (inputs
      `(("unixodbc" ,unixodbc)))