mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 12:01:27 +00:00
build script: create mad .pc file
This commit is contained in:
parent
3282fc4322
commit
62bd4b5408
1 changed files with 4 additions and 0 deletions
4
build.py
4
build.py
|
@ -936,6 +936,10 @@ class MadTarget(ConfigureMakeStaticDependencyTarget):
|
|||
def detect(self, builder: 'Builder') -> bool:
|
||||
return os.path.exists(builder.source_path + 'mad.h')
|
||||
|
||||
def post_build(self, builder: 'Builder'):
|
||||
super().post_build(builder)
|
||||
self.write_pc_file(description='MPEG Audio Decoder', version='0.15.1b')
|
||||
|
||||
|
||||
class MesonTarget(Target):
|
||||
def __init__(self, name='meson'):
|
||||
|
|
Loading…
Reference in a new issue