diff options
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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` |
