Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop adding PYTHON_CFGDIR to LD_RUN_PATH and PYTHON_LDFLAGS if there …
…is no libpython The PYTHON_CFGDIR variable is more or less something like /usr/lib64/python3.12/config. Not only does this directory not exist on Python 3.6+ (it is called differently), but there is no libpython.so in it. Adding it to LD paths makes no difference. I could fix up the way the path is determined, but I decided not to touch this code not to break old use cases. Instead, the directory is only added to LD paths when there is something relevant in it. Fixes GrahamDumpleton#872
- Loading branch information