Closed pschuprikov closed 6 years ago
When I tried to use CPATH environment variable to pass include dierctory, I got this:
CPATH
File "generate.py", line 99, in create_module site_cfg['include_dirs'] += [os.path.join(p, 'nanomsg') NameError: global name 'site_cfg' is not defined
The reason is this line. It should probably be set_source_args instead of site_cfg
set_source_args
site_cfg
Ah, nice find. Would you be able to contribute a pull request for this?
Fixed with #39.
When I tried to use
CPATH
environment variable to pass include dierctory, I got this:The reason is this line. It should probably be
set_source_args
instead ofsite_cfg