diff options
| author | ruki <[email protected]> | 2017-08-14 17:40:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-14 17:40:39 +0800 |
| commit | 18e041e57463c847158f3c3d67e7e75e22b082f9 (patch) | |
| tree | e1b1956f5fb9a4aab0fb6db6e155afd637956972 /core/src | |
| parent | 06aaf7d5a583fd5a6574661e4b58fbd9f431817a (diff) | |
inherit links and linkdirs from the dependent target and option
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/demo/xmake.lua | 2 | ||||
| -rw-r--r-- | core/src/xmake/xmake.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua index 57453a87e..e7fd6cbc9 100644 --- a/core/src/demo/xmake.lua +++ b/core/src/demo/xmake.lua @@ -21,7 +21,7 @@ target("demo") -- link readline if not is_plat("windows") then - add_links("readline") +-- add_links("readline") end -- add packages diff --git a/core/src/xmake/xmake.lua b/core/src/xmake/xmake.lua index cf40ab3c3..b22712136 100644 --- a/core/src/xmake/xmake.lua +++ b/core/src/xmake/xmake.lua @@ -26,5 +26,5 @@ target("xmake") add_files("**.c") -- add cfunc - add_cfunc("API", "readline", nil, {"readline/readline.h"}, "readline") + add_cfunc("API", "readline", "readline", {"readline/readline.h"}, "readline") |
