From 215341f8e977a6e0576805652fb563480e460cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Fri, 3 May 2024 18:50:16 +0200 Subject: [PATCH] Fix target.linkname not returning a value --- xmake/core/project/target.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 9c396e25cf5..c933b4a9afc 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -2857,6 +2857,7 @@ function target.linkname(filename, opt) if not filename:startswith("lib") and (filename:endswith(".so") or filename:endswith(".dylib")) then return filename end + return nil end -- new a target instance