summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-09 18:19:47 +0100
committerDavid Robillard <d@drobilla.net>2019-11-09 18:19:47 +0100
commit6cc5bc3ac0222116f65e444af5ad76cdee3754eb (patch)
treed9118f5d74e5d271b47db0972bf549319b903959
parent74dbe92658a1d5e49509d0918d8498744a87214d (diff)
downloadsord-6cc5bc3ac0222116f65e444af5ad76cdee3754eb.tar.gz
sord-6cc5bc3ac0222116f65e444af5ad76cdee3754eb.tar.bz2
sord-6cc5bc3ac0222116f65e444af5ad76cdee3754eb.zip
Fix pkg-config dependencies
-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'