af69061644a969012aee35c89bbf3e6f1b0995ce
This breaks windows builds, since apparently build(bld) is evaluated twice (once to write compile_commands.json and once to compile), even though `obj` is reset. eg. in libs/pbd/wscript ``` if bld.env['build_target'] == 'mingw': obj.source += [ 'windows_special_dirs.cc' ] ``` results in [ 65/1159] Compiling libs/pbd/windows_special_dirs.cc [ 69/1159] Compiling libs/pbd/windows_special_dirs.cc which then produces an error when linking: ``` /usr/bin/x86_64-w64-mingw32-ld: libs/pbd/windows_special_dirs.cc.2.o:libs/pbd/windows_special_dirs.cc:28: multiple definition of `PBD::get_win_special_folder_path[abi:cxx11](int)'; libs/pbd/windows_special_dirs.cc.2.o:libs/pbd/windows_special_dirs.cc:28: first defined here ```
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%