summaryrefslogtreecommitdiff
path: root/core/pkg/tbox.pkg/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-19 09:42:52 +0800
committerruki <[email protected]>2017-07-19 09:42:52 +0800
commit93ec0e112c5ccb4a2acd1ba5a36320218cd73c7e (patch)
tree03f565e1764c53258ce51c35caa39cc9f895a29c /core/pkg/tbox.pkg/xmake.lua
parentbfe4432515a8816edc1d32ccfe646096b3ff9c95 (diff)
fix option checking
Diffstat (limited to 'core/pkg/tbox.pkg/xmake.lua')
-rw-r--r--core/pkg/tbox.pkg/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pkg/tbox.pkg/xmake.lua b/core/pkg/tbox.pkg/xmake.lua
index c6bc5ee18..50e568b7a 100644
--- a/core/pkg/tbox.pkg/xmake.lua
+++ b/core/pkg/tbox.pkg/xmake.lua
@@ -15,7 +15,7 @@ option("tbox")
set_languages("c99", "cxx11")
-- add defines to config.h if checking ok
- add_defines_h_if_ok("$(prefix)_PACKAGE_HAVE_TBOX")
+ add_defines_h("$(prefix)_PACKAGE_HAVE_TBOX")
-- add links for checking
add_links("tbox")