summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--suil.pc.in1
-rw-r--r--wscript3
2 files changed, 3 insertions, 1 deletions
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 = []