build script: add missing frameworks to fluidsynth .pc file

This commit is contained in:
alexey.lysiuk 2020-12-18 11:25:33 +02:00
parent ec686a78a8
commit 78d2998b4c

View file

@ -803,6 +803,9 @@ class FluidSynthTarget(CMakeStaticDependencyTarget):
if line.startswith('Version:'):
# Add instpatch as private dependency which pulls all necessary libraries
return line + 'Requires.private: libinstpatch-1.0' + os.linesep
elif line.startswith('Libs:'):
# Add missing system frameworks to link with
return line + 'Libs.private: -framework AudioUnit -framework CoreAudio -framework CoreMIDI' + os.linesep
return line