From 2c4004706f5ddd1b2d3dd53d0bf0620447418f7a Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 15 Mar 2019 23:29:25 +0800 Subject: [PATCH] remove rtlib --- packages/l/libuv/xmake.lua | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/l/libuv/xmake.lua b/packages/l/libuv/xmake.lua index d3100a0b2..591e6ee3e 100644 --- a/packages/l/libuv/xmake.lua +++ b/packages/l/libuv/xmake.lua @@ -24,20 +24,7 @@ package("libuv") end) on_install("windows", function (package) - local configs = {} - local rtlib = package:config('rtlib') - if rtlib and rtlib:lower() == 'md' then - table.insert(configs, '-DCMAKE_CXX_FLAGS_DEBUG="/MDd"') - table.insert(configs, '-DCMAKE_CXX_FLAGS_RELEASE="/MD"') - table.insert(configs, '-DCMAKE_C_FLAGS_DEBUG="/MDd"') - table.insert(configs, '-DCMAKE_C_FLAGS_RELEASE="/MD"') - else - table.insert(configs, '-DCMAKE_CXX_FLAGS_DEBUG="/MTd"') - table.insert(configs, '-DCMAKE_CXX_FLAGS_RELEASE="/MT"') - table.insert(configs, '-DCMAKE_C_FLAGS_DEBUG="/MTd"') - table.insert(configs, '-DCMAKE_C_FLAGS_RELEASE="/MT"') - end - import("package.tools.cmake").install(package, configs) + import("package.tools.cmake").install(package) os.cp("include", package:installdir()) end)