diff --git a/packages/n/nana/xmake.lua b/packages/n/nana/xmake.lua index db49f5376..37d87c543 100644 --- a/packages/n/nana/xmake.lua +++ b/packages/n/nana/xmake.lua @@ -20,7 +20,8 @@ package("nana") add_syslinks("ole32", "shell32", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "advapi32") add_defines("_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING") elseif is_plat("linux") then - add_syslinks("pthread", "X11", "Xft", "fontconfig") + add_deps("libxcursor") + add_syslinks("pthread", "fontconfig", "Xft") add_links("nana") end