mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +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)
|
||||
# Alpine Linux uses musl that can't print cache
|
||||
args = ["/sbin/ldconfig", "-p"]
|
||||
args = ["ldconfig", "-p"]
|
||||
expr = rf".*\({abi_type}.*\) => (.*)"
|
||||
env = dict(os.environ)
|
||||
env["LC_ALL"] = "C"
|
||||
env["LANG"] = "C"
|
||||
|
||||
elif sys.platform.startswith("freebsd"):
|
||||
args = ["/sbin/ldconfig", "-r"]
|
||||
args = ["ldconfig", "-r"]
|
||||
expr = r".* => (.*)"
|
||||
env = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user