From 3365fc7ea36a050a3cfba771b78c48d44cb8a6e1 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 11 Jul 2018 00:31:38 +0800 Subject: remove config header when uninstalling --- xmake/actions/uninstall/uninstall.lua | 6 ------ 1 file changed, 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 -- cgit v1.3.1