From cbab55296e607350e2dfb1ca39582ac7ef946fc3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Nov 2019 18:23:55 +0100 Subject: Fix pkg-config dependencies --- suil.pc.in | 1 + wscript | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/suil.pc.in b/suil.pc.in index 1bff552..66810a6 100644 --- a/suil.pc.in +++ b/suil.pc.in @@ -6,5 +6,6 @@ includedir=@INCLUDEDIR@ Name: Suil Version: @SUIL_VERSION@ Description: LV2 plugin UI hosting library +Requires: @SUIL_PKG_DEPS@ Libs: -L${libdir} -l@LIB_SUIL@ Cflags: -I${includedir}/suil-@SUIL_MAJOR_VERSION@ diff --git a/wscript b/wscript index a75ec7d..d8e9093 100644 --- a/wscript +++ b/wscript @@ -214,7 +214,8 @@ def build(bld): # Pkgconfig file autowaf.build_pc(bld, 'SUIL', SUIL_VERSION, SUIL_MAJOR_VERSION, [], - {'SUIL_MAJOR_VERSION' : SUIL_MAJOR_VERSION}) + {'SUIL_MAJOR_VERSION' : SUIL_MAJOR_VERSION, + 'SUIL_PKG_DEPS' : 'lv2'}) cflags = [] lib = [] -- cgit v1.2.1