# HG changeset patch # User sam # Date 1714205803 -25200 # Node ID 056abf6386d751cee4ee4370943a7385f6e20456 # Parent 27f9f53a759785dfb8e3d96f54e4f32de4eee081 fix: correct sqlite dlls for windows diff -r 27f9f53a7597 -r 056abf6386d7 libs/sqlite3_32.dll Binary file libs/sqlite3_32.dll has changed diff -r 27f9f53a7597 -r 056abf6386d7 libs/sqlite3_64.dll Binary file libs/sqlite3_64.dll has changed diff -r 27f9f53a7597 -r 056abf6386d7 semicongine/build.nim --- a/semicongine/build.nim Tue Apr 16 02:42:39 2024 +0700 +++ b/semicongine/build.nim Sat Apr 27 15:16:43 2024 +0700 @@ -18,7 +18,8 @@ STEAMLIB = currentSourcePath().parentDir().parentDir().joinPath("libs/steam_api.dll") else: raise newException(Exception, "Unsupported platform") -let SQLITELIB = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3.dll") +let SQLITELIB_32 = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3_32.dll") +let SQLITELIB_64 = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3_64.dll") proc semicongine_builddir*(buildname: string, builddir = "./build"): string = assert projectName() != "", "Please specify project file as a commandline argument" @@ -76,7 +77,8 @@ elif bundleType == "exe": switch("define", "BUILD_RESOURCEROOT=" & joinPath(getCurrentDir(), resourceRoot)) # required for in-exe packing of resources, must be absolute if defined(windows): - SQLITELIB.cpFile(outdir.joinPath(SQLITELIB.extractFilename)) + SQLITELIB_32.cpFile(outdir.joinPath(SQLITELIB_32.extractFilename)) + SQLITELIB_64.cpFile(outdir.joinPath(SQLITELIB_64.extractFilename)) if withSteam: STEAMLIB.cpFile(outdir.joinPath(STEAMLIB.extractFilename))