PYTHON_EXT_SUFFIX in depend.mk
So now that wip-quadprog is building, it looks like the SYSTEM_SEARCH is wrong:
╰─>$ make show-var VARNAME=SYSTEM_SEARCH.py-quadprog 'lib/python2.7/site-packages/quadprog'
the PYTHON_EXT_SUFFIX is missing. And if I just copy-paste its two-line definition from mk/sysdep/python.mk to wip/py-quadprog/depend.mk, this situation doesn't improve.
Do you have an idea about what am I missing ?
Updated by Anthony Mallet 12 months ago
Mmm ... PYTHON_EXT_SUFFIX is only available after the dependency
resolution, once the $WRKDIR/.sysdepends file is created and contains
In the context of SYSTEM_SEARCH, this is too early, the make process
has not restarted and not read those files yet.
I will think about a possible solution, but I'm not sure if anything
simple can be done at all ...