mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: wscript: set compiler for tests using compiler key instead of directly setting up features, otherwise it won't add uselib
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user