Explorar el Código

fix sqlite3 on windows

ruki hace 6 años
padre
commit
bc80ca010e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      packages/s/sqlite3/xmake.lua

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

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