summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sord.pc.in2
-rw-r--r--wscript5
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'