public: fix incorrect logic where libc extension defines were exported without an actual check

This commit is contained in:
Alibek Omarov
2025-07-29 11:31:45 +05:00
parent f4854dbcde
commit dc09cf0c39

View File

@@ -132,7 +132,8 @@ def configure(conf):
)
for export in exports_list:
conf.export_define(export)
if conf.env[export]:
conf.export_define(export)
# kill temporary uselib
del conf.env.DEFINES_export