Browse Source

improve sqlite3

ruki 6 years ago
parent
commit
e58ad10604
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/s/sqlite3/xmake.lua

+ 1 - 1
packages/s/sqlite3/xmake.lua

@@ -10,7 +10,7 @@ package("sqlite3")
     add_versions("3.23.0", "b7711a1800a071674c2bf76898ae8584fc6c9643cfe933cfc1bc54361e3a6e49")
 
     on_install("windows", function (package)
-        os.vrun("nmake DEBUG=%s -f Makefile.msc DYNAMIC_SHELL=1", package:debug() and "1" or "0")
+        os.vrun("nmake DEBUG=%s -f Makefile.msc DYNAMIC_SHELL=1 PLATFORM=%s", package:debug() and "1" or "0", package:arch())
         os.cp("*.h", package:installdir("include"))
         os.cp("sqlite3.lib", package:installdir("lib"))
         os.cp("sqlite3.pdb", package:installdir("lib"))