Showing the changes to python/lib (1 of 1 file). Show all
Unified · Split
| @@ -55,10 +55,7 @@ def add_local_aubio_lib(ext): · 54 unmodified lines | ||
| 55 | 55 | |
| 56 | 56 | def add_local_aubio_sources(ext, usedouble = False): |
| 57 | 57 | """ build aubio inside python module instead of linking against libaubio """ |
| 58 | − print("Warning: libaubio was not built with waf, adding src/") | |
| 59 | − # create an empty header, macros will be passed on the command line | |
| 60 | − fake_config_header = os.path.join('python', 'ext', 'config.h') | |
| 61 | − distutils.file_util.write_file(fake_config_header, "") | |
| 58 | + print("Info: libaubio was not installed or built locally with waf, adding src/") | |
| 62 | 59 | aubio_sources = sorted(glob.glob(os.path.join('src', '**.c'))) |
| 63 | 60 | aubio_sources += sorted(glob.glob(os.path.join('src', '*', '**.c'))) |
| 64 | 61 | ext.sources += aubio_sources |