From 78d2998b4c810655531c20e98f5bd097ec40bf1f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 18 Dec 2020 11:25:33 +0200 Subject: [PATCH] build script: add missing frameworks to fluidsynth .pc file --- build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.py b/build.py index 0cfaf596..01669828 100755 --- a/build.py +++ b/build.py @@ -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