We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf350b8 + e0eb4b9 commit e4604d5Copy full SHA for e4604d5
wscript
@@ -335,6 +335,10 @@ def build_robot_dart(bld):
335
py_files = [f[len(bld.path.abspath())+1:] for f in py_files]
336
py_srcs = " ".join(py_files)
337
338
+ # Read suffix to be sure! Do not rely on waf!
339
+ if len(bld.env['PYTHON_CONFIG']) > 0 and len(bld.env['PYTHON_CONFIG'][0]) > 0:
340
+ py_suffix = bld.cmd_and_log('%s --extension-suffix' % bld.env['PYTHON_CONFIG'][0], quiet=True)[:-1] # ignore end of line!
341
+ bld.env['pyext_PATTERN'] = "%s" + py_suffix
342
bld.program(features = 'c cshlib pyext',
343
source = './src/python/robot_dart.cc ' + py_srcs,
344
includes = './src',
0 commit comments