summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/require/impl/export_packages.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/export_packages.lua b/xmake/modules/private/action/require/impl/export_packages.lua
index b2053319a..381897045 100644
--- a/xmake/modules/private/action/require/impl/export_packages.lua
+++ b/xmake/modules/private/action/require/impl/export_packages.lua
@@ -39,6 +39,7 @@ function main(requires, opt)
print("exporting %s-%s %s", instance:displayname(), instance:version_str(), package.get_configs_str(instance))
cprint(" ${yellow}->${clear} %s", exportpath)
os.cp(installdir, exportpath)
+ os.tryrm(path.join(exportpath, "references.txt"))
table.insert(packages, instance)
end
end