From fe430171e5f9cfe5e539e8dd007e33d3f96853c2 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 19 Sep 2023 22:34:01 +0800 Subject: fix sourcedir #4213 --- xmake/core/package/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index fa409aace..d0c6ecd88 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -615,7 +615,7 @@ end -- is local embed source code package? -- we install directly from the local source code instead of downloading it remotely function _instance:is_source_embed() - return self:get("sourcedir") and #self:urls() == 0 and self:script("install") + return self:get("sourcedir") and self:script("install") end -- is local embed binary package? it's come from `xmake package` -- cgit v1.3.1