mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Merge pull request #7044 from radarhere/ldconfig
This commit is contained in:
commit
d850ac7a58
4
setup.py
4
setup.py
|
@ -166,14 +166,14 @@ def _find_library_dirs_ldconfig():
|
||||||
|
|
||||||
# Assuming GLIBC's ldconfig (with option -p)
|
# Assuming GLIBC's ldconfig (with option -p)
|
||||||
# Alpine Linux uses musl that can't print cache
|
# Alpine Linux uses musl that can't print cache
|
||||||
args = ["/sbin/ldconfig", "-p"]
|
args = ["ldconfig", "-p"]
|
||||||
expr = rf".*\({abi_type}.*\) => (.*)"
|
expr = rf".*\({abi_type}.*\) => (.*)"
|
||||||
env = dict(os.environ)
|
env = dict(os.environ)
|
||||||
env["LC_ALL"] = "C"
|
env["LC_ALL"] = "C"
|
||||||
env["LANG"] = "C"
|
env["LANG"] = "C"
|
||||||
|
|
||||||
elif sys.platform.startswith("freebsd"):
|
elif sys.platform.startswith("freebsd"):
|
||||||
args = ["/sbin/ldconfig", "-r"]
|
args = ["ldconfig", "-r"]
|
||||||
expr = r".* => (.*)"
|
expr = r".* => (.*)"
|
||||||
env = {}
|
env = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user