|
|
@ -47,7 +47,7 @@ package("boost") |
|
|
|
on_load("windows", function (package) |
|
|
|
on_load("windows", function (package) |
|
|
|
local vs_runtime = package:config("vs_runtime") |
|
|
|
local vs_runtime = package:config("vs_runtime") |
|
|
|
for _, libname in ipairs(libnames) do |
|
|
|
for _, libname in ipairs(libnames) do |
|
|
|
local linkname = "boost_" .. libname |
|
|
|
local linkname = (package:config("shared") and "boost_" or "libboost_") .. libname |
|
|
|
if package:config("multi") then |
|
|
|
if package:config("multi") then |
|
|
|
linkname = linkname .. "-mt" |
|
|
|
linkname = linkname .. "-mt" |
|
|
|
end |
|
|
|
end |
|
|
|