LutzGross / esys-escript.github.io

Other
29 stars 13 forks source link

Improved detection of python build params .... again #48

Open aellery opened 2 years ago

aellery commented 2 years ago

The following raised its head on magnus. python-config --ldflags returns a directory which has a static library only (our dependency.py looks for .so files). Now they do have an .so file which can be found in a sensible location (pythonroot/lib) which could be found with python-config --prefix

Now, we could have dependencies look for .a as well but I don't know whether the rest of our build requires an .so . A better option might be to add a scons option to look for the python prefix and set all the vars relative to that.