summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-07-11 00:31:38 +0800
committerruki <[email protected]>2018-07-10 21:09:48 +0800
commit3365fc7ea36a050a3cfba771b78c48d44cb8a6e1 (patch)
treeb9486f407092de99da70574002ca1bced4c492b2
parent3984c855f6e44fb86b0c84d2421b30ec0825cf66 (diff)
remove config header when uninstalling
-rw-r--r--xmake/actions/uninstall/uninstall.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/actions/uninstall/uninstall.lua b/xmake/actions/uninstall/uninstall.lua
index adc7b9102..fc7303b2d 100644
--- a/xmake/actions/uninstall/uninstall.lua
+++ b/xmake/actions/uninstall/uninstall.lua
@@ -59,12 +59,6 @@ function _uninstall_library(target)
-- remove the target file
os.rm(path.join(librarydir, path.filename(target:targetfile())))
- -- reove the config.h from the include directory
- local _, configheader = target:configheader(includedir)
- if configheader then
- os.rm(configheader)
- end
-
-- remove headers from the include directory
local _, dstheaders = target:headerfiles(includedir)
for _, dstheader in ipairs(dstheaders) do