|
@@ -83,6 +83,10 @@ package("boost")
|
|
else
|
|
else
|
|
linkname = "boost_" .. libname
|
|
linkname = "boost_" .. libname
|
|
end
|
|
end
|
|
|
|
+ if libname == "python" then
|
|
|
|
+ -- TODO maybe we need improve it, e.g. libboost_python310-mt.a
|
|
|
|
+ linkname = linkname .. "310"
|
|
|
|
+ end
|
|
if package:config("multi") then
|
|
if package:config("multi") then
|
|
linkname = linkname .. "-mt"
|
|
linkname = linkname .. "-mt"
|
|
end
|
|
end
|
|
@@ -118,6 +122,9 @@ package("boost")
|
|
if package:is_plat("windows") then
|
|
if package:is_plat("windows") then
|
|
package:add("defines", "BOOST_ALL_NO_LIB")
|
|
package:add("defines", "BOOST_ALL_NO_LIB")
|
|
end
|
|
end
|
|
|
|
+ if package:config("python") then
|
|
|
|
+ package:add("deps", "python 3.10.x")
|
|
|
|
+ end
|
|
end)
|
|
end)
|
|
|
|
|
|
on_install("macosx", "linux", "windows", "bsd", "mingw", "cross", function (package)
|
|
on_install("macosx", "linux", "windows", "bsd", "mingw", "cross", function (package)
|