mirror of
https://github.com/sogou/workflow.git
synced 2026-10-28 19:19:22 +08:00
fix : lib/include may be file after install
This commit is contained in:
+2
-2
@@ -38,8 +38,8 @@ target("workflow")
|
||||
end)
|
||||
|
||||
on_install(function (target)
|
||||
os.mkdir(target:installdir("include"))
|
||||
os.mkdir(target:installdir("lib"))
|
||||
os.mkdir(target:installdir("include"))
|
||||
os.mkdir(target:installdir("lib"))
|
||||
os.cp(path.join(get_config("workflow_inc"), "workflow"), path.join(target:installdir(), "include"))
|
||||
if target:is_static() then
|
||||
os.cp(path.join(get_config("workflow_lib"), "*.a"), path.join(target:installdir(), "lib"))
|
||||
|
||||
Reference in New Issue
Block a user