mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 05:11:49 +00:00
build script: fix fluidsynth linking
This commit is contained in:
parent
b40ae87b15
commit
40038b19b3
1 changed files with 5 additions and 0 deletions
5
build.py
5
build.py
|
@ -738,6 +738,11 @@ class FluidSynthTarget(CMakeStaticDependencyTarget):
|
|||
def detect(self, builder: 'Builder') -> bool:
|
||||
return os.path.exists(builder.source_path + 'fluidsynth.pc.in')
|
||||
|
||||
def configure(self, builder: 'Builder'):
|
||||
# TODO: Figure out why private dependencies aren't pulled
|
||||
self.options['CMAKE_EXE_LINKER_FLAGS'] = builder.run_pkg_config('--libs', 'glib-2.0')
|
||||
super().configure(builder)
|
||||
|
||||
@staticmethod
|
||||
def _process_pkg_config(pcfile: str, line: str) -> str:
|
||||
if line.startswith('Version:'):
|
||||
|
|
Loading…
Reference in a new issue