summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRedbeanw44602 <[email protected]>2025-10-28 10:34:37 +0800
committerRedbeanw44602 <[email protected]>2025-10-28 10:34:37 +0800
commit8b6bbe7302caa5d4aa78c5b6dec1b76659493bac (patch)
treebd8d93476a7bd4cca1c99a2ecc3f47e1aa698cf2
parentf8a12ff29d50270f8cd25a905d1832fec70cf87d (diff)
avoid misleading.
-rw-r--r--xmake/modules/package/tools/autoconf.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index 1f31cca40..120467b7d 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -341,13 +341,6 @@ function _apply_libtool_patch_for_cross(package, opt)
last_patch_version = patch_version
end
- if #suitable_patch_versions == 0 then
- if option.get("verbose") then
- wprint("no suitable cross-compilation patch was found for libtool for this project.")
- end
- return
- end
-
-- try to apply the suitable patch
local succeed = false
for _, patch_version in ipairs(suitable_patch_versions) do
@@ -373,7 +366,7 @@ function _apply_libtool_patch_for_cross(package, opt)
if succeed then
cprint("${dim}> libtool patch for cross-compilation applied successfully")
else
- wprint("unable to apply preset libtool cross-compilation patches, your project files were not modified.")
+ wprint("unable to apply libtool cross-compilation patches, your build files were not modified.")
end
end
end