scripts/download-macos-libs.py: Patch out epoxy.pc Requires.private

This commit is contained in:
Matt Borgerson 2025-03-22 14:43:16 -07:00 committed by mborgerson
parent 1eced78a07
commit 708445a8dd
1 changed files with 3 additions and 1 deletions

View File

@ -149,7 +149,9 @@ class LibInstaller:
if pkg_name.startswith('openssl'): # FIXME
new_prefix = f'prefix={self._extract_path}/opt/local/libexec/openssl11\n'
lines[i] = new_prefix
break
elif l.strip().startswith('Requires.private:'):
if pkg_name.startswith('libepoxy'):
lines[i] = ''
with open(extracted_path, 'w') as f:
f.write(''.join(lines))