mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-31 12:00:35 +00:00
aedi: simplify dumb .pc file processing
This commit is contained in:
parent
3102c08129
commit
829810e05e
1 changed files with 1 additions and 8 deletions
|
@ -38,14 +38,7 @@ class DumbTarget(CMakeStaticDependencyTarget):
|
|||
|
||||
@staticmethod
|
||||
def _process_pkg_config(pcfile: str, line: str) -> str:
|
||||
if line.startswith('libdir='):
|
||||
return 'libdir=${exec_prefix}/lib\n'
|
||||
elif line.startswith('includedir='):
|
||||
return 'includedir=${prefix}/include\n'
|
||||
elif line.startswith('Libs:'):
|
||||
return 'Libs: -L${libdir} -ldumb\n'
|
||||
|
||||
return line
|
||||
return 'Libs: -L${libdir} -ldumb\n' if line.startswith('Libs:') else line
|
||||
|
||||
|
||||
class FmtTarget(CMakeStaticDependencyTarget):
|
||||
|
|
Loading…
Reference in a new issue