Skip to content
  • felix schwitzer's avatar
    UseSWIG: Fix handling of `SWIG_MODULE_NAME` source file property · 156138d5
    felix schwitzer authored and Brad King's avatar Brad King committed
    Fix a typo from commit 0bef9eb4 (UseSWIG: modernize module,
    2018-01-29) that caused `UseSWIG` to ignore an eventually set property
    `SWIG_MODLUE_NAME`.
    
    Building multiple python modules using the mentioned property as
    described in the docs could lead to an invalid, or even worse,
    inconsistent `build.ninja` file.  The reason is that the generated list
    of support files was not unique.  For each module the support file was
    always named the same, namely `path/to/builddir/MODULENAME.py`.
    156138d5