|
@@ -53,7 +53,7 @@ package("libjpeg-turbo")
|
|
table.insert(configs, "-DENABLE_SHARED=OFF")
|
|
table.insert(configs, "-DENABLE_SHARED=OFF")
|
|
table.insert(configs, "-DENABLE_STATIC=ON")
|
|
table.insert(configs, "-DENABLE_STATIC=ON")
|
|
end
|
|
end
|
|
- if package:is_plat("windows") and package:config("vs_runtime"):startswith("MD") then
|
|
|
|
|
|
+ if package:is_plat("windows") and package:has_runtime("MD") then
|
|
table.insert(configs, "-DWITH_CRT_DLL=ON")
|
|
table.insert(configs, "-DWITH_CRT_DLL=ON")
|
|
end
|
|
end
|
|
if package:is_plat("mingw") then
|
|
if package:is_plat("mingw") then
|