key differences:
- actually works
- don't search libpython in random locations (never invoke FindLibrary
with bSimple=true)
- use fixed PYTHON_LIBDIR defined in spec
- don't descend into subdirectories
- don't require library to end with _both_ .so and .dylib
(filename.compare(filename.length() - 3, 3, ".so") == 0 &&
filename.compare(filename.length() - 6, 6, ".dylib") == 0)
- don't require devel symlink (*.so) to be present