pfstools 2.1.0 FTBFS on parallel build (make -j3). The octave files custom_command includes a -lpfs but there is no dependency defined in the CMake infrastructure.
Find attached a works-for-me patch. Please doublecheck.
I think the correct place to specify the dependency is in the "DEPENDS" of the custom command.
Otherwise, make may create e.g. pfsread.oct and libpfs in parallel. You only specify libpfs as a dependency of the .mkoct target.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the correct place to specify the dependency is in the "DEPENDS" of the custom command.
Otherwise, make may create e.g. pfsread.oct and libpfs in parallel. You only specify libpfs as a dependency of the .mkoct target.
The following works, and is IMHO the correct way to specify the dependency:
Patch applied. Compiles fine on my side.