diff options
| author | ruki <[email protected]> | 2022-12-14 23:52:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-14 23:52:30 +0800 |
| commit | 3574928f7cbcdfc722c4ab35a9c0d4bf10935ec7 (patch) | |
| tree | 0e984ae933acedc0d65f8ba9c45c05c6216255fd /core/src/xmake | |
| parent | 638ec113fe945b0692d65d79c438655446e0832c (diff) | |
fix tbox xmake.sh
Diffstat (limited to 'core/src/xmake')
| -rwxr-xr-x | core/src/xmake/xmake.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/src/xmake/xmake.sh b/core/src/xmake/xmake.sh index 7b5415ac1..7bb0b9d31 100755 --- a/core/src/xmake/xmake.sh +++ b/core/src/xmake/xmake.sh @@ -50,11 +50,12 @@ target "xmake" # enable readline if has_config "readline"; then - add_defines "XM_CONFIG_API_HAVE_READLINE" + add_defines "XM_CONFIG_API_HAVE_READLINE" "{public}" + add_links "readline" "{public}" fi # enable curses if has_config "curses"; then - add_defines "XM_CONFIG_API_HAVE_CURSES" + add_defines "XM_CONFIG_API_HAVE_CURSES" "{public}" + add_links "curses" "{public}" fi - |
