Commits

Harald Klimach committed efb9717

Check for libm for the Lua interpreter

Comments (0)

Files changed (1)

                   header_name=['stdio.h'],
                   defines=['LUA_USE_POPEN=1'],
                   uselib_store='POPEN', mandatory=False)
+    conf.check_cc(lib='m', uselib_store='MATH')
 
     conf.check_fc(fragment = '''
        program check_iso_c
 ## Building the lua interpreter, usually not needed.
     bld(
         features = 'c cprogram',
-        use = 'lualib',
+        use = ['lualib', 'MATH'],
         source = lua_sources,
         defines = ['LUA_ANSI'],
         stlib = bld.env['STLIBS'],