From 6cc5bc3ac0222116f65e444af5ad76cdee3754eb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Nov 2019 18:19:47 +0100 Subject: Fix pkg-config dependencies --- sord.pc.in | 2 +- wscript | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sord.pc.in b/sord.pc.in index da8a601..64395c5 100644 --- a/sord.pc.in +++ b/sord.pc.in @@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@ Name: Sord Version: @SORD_VERSION@ Description: A lightweight C library for storing RDF statements in memory. -Requires: @PKG_serd_0@ +Requires: @SORD_PKG_DEPS@ Libs: -L${libdir} -l@LIB_SORD@ Cflags: -I${includedir}/sord-@SORD_MAJOR_VERSION@ diff --git a/wscript b/wscript index ccd6c73..6bf0695 100644 --- a/wscript +++ b/wscript @@ -101,8 +101,9 @@ def build(bld): bld.install_files(includedir, bld.path.ant_glob('sord/*.hpp')) # Pkgconfig file - autowaf.build_pc(bld, 'SORD', SORD_VERSION, SORD_MAJOR_VERSION, 'SERD', - {'SORD_MAJOR_VERSION' : SORD_MAJOR_VERSION}) + autowaf.build_pc(bld, 'SORD', SORD_VERSION, SORD_MAJOR_VERSION, [], + {'SORD_MAJOR_VERSION' : SORD_MAJOR_VERSION, + 'SORD_PKG_DEPS' : 'serd-0'}) source = 'src/sord.c src/syntax.c' -- cgit v1.2.1