xmake: drop the unreachable plat check in get_binary_dep

The enclosing condition already requires plat == "psx", so this branch can never run.
This commit is contained in:
Rix
2026-09-30 00:25:45 -07:00
parent 5a3e0c7e1d
commit 2dd5ef6eaa
-3
View File
@@ -44,9 +44,6 @@ local function get_binary_dep(target)
"target can only have one binary dependency, found '" ..
binary:name() .. "' and '" .. dep_target:name() .. "'"
end
if dep_target:get("plat") ~= "psx" then
return nil, "target dependency '" .. dep_target:name() .. "' must be a psx target"
end
binary = dep_target
end
else