We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c06b576 commit 0e30facCopy full SHA for 0e30fac
tools/makefile.py
@@ -51,11 +51,11 @@ def TargetMakefile(env):
51
if 'CXXFLAGS' in dir(rtconfig):
52
make.write('CXXFLAGS :=%s' % (rtconfig.CXXFLAGS))
53
make.write('\n')
54
- if env.has_key('LIBS'):
+ if ('LIBS' in env):
55
make.write('EXTERN_LIB := ')
56
for tlib in env['LIBS']:
57
make.write('-l%s ' % (tlib))
58
- if env.has_key('LIBPATH'):
+ if ('LIBPATH' in env):
59
for tlibpath in env['LIBPATH']:
60
make.write('-L%s ' % (tlibpath))
61
0 commit comments