From 671157ee20eca094eff4b3059982e2fda34621dc Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 29 Jul 2025 21:42:00 +0500 Subject: [PATCH] public: wscript: set compiler for tests using compiler key instead of directly setting up features, otherwise it won't add uselib --- public/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/wscript b/public/wscript index 167fc8d9..b401e162 100644 --- a/public/wscript +++ b/public/wscript @@ -118,7 +118,7 @@ def configure(conf): def check_libc_extension(frag, msg, define): exports_list.append(define) - return {'fragment': frag, 'msg': 'Checking for ' + msg, 'define_name': define, 'mandatory': False, 'use': 'M werror export', 'features': 'cprogram'} + return {'fragment': frag, 'msg': 'Checking for ' + msg, 'define_name': define, 'mandatory': False, 'use': 'M werror export', 'compiler': 'c'} conf.multicheck( check_libc_extension(TGMATH_H_TEST, 'tgmath.h', 'HAVE_TGMATH_H'),