fix python fetch (#1858)

pull/1859/head
ruki 2 years ago committed by GitHub
parent 24bc3d9978
commit d684b07f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      packages/p/python/fetch.lua

@ -64,13 +64,12 @@ function _find_library(package, opt)
includepath = find_path("Python.h", {path.directory(exepath)}, {suffixes = {"include/python" .. pyver}})
end
-- return
if libpath and includepath then
local result = {
version = version,
link = libpath.link,
linkdirs = {libpath.linkdir},
includedirs = {includepath}
links = libpath.link,
linkdirs = libpath.linkdir,
includedirs = includepath
}
return result
end

Loading…
Cancel
Save