diff options
author | David Robillard <d@drobilla.net> | 2019-11-09 18:21:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-11-09 18:21:47 +0100 |
commit | d5eff8f6a789f4dfde2f0d5c1b185ce4953c397a (patch) | |
tree | 1bafbde3e154c5a3154a69d0deacca0592118c08 | |
parent | b147779bb1774c6cf97a934d1cde01fc1e076b88 (diff) | |
download | sratom-d5eff8f6a789f4dfde2f0d5c1b185ce4953c397a.tar.gz sratom-d5eff8f6a789f4dfde2f0d5c1b185ce4953c397a.tar.bz2 sratom-d5eff8f6a789f4dfde2f0d5c1b185ce4953c397a.zip |
Fix pkg-config dependencies
-rw-r--r-- | sratom.pc.in | 2 | ||||
-rw-r--r-- | wscript | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sratom.pc.in b/sratom.pc.in index eb40083..4d95be9 100644 --- a/sratom.pc.in +++ b/sratom.pc.in @@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@ Name: Sratom Version: @SRATOM_VERSION@ Description: LV2 Atom RDF serialisation library -Requires: lv2 @PKG_serd_0@ @PKG_sord_0@ +Requires: @SRATOM_PKG_DEPS@ Libs: -L${libdir} -l@LIB_SRATOM@ Cflags: -I${includedir}/sratom-@SRATOM_MAJOR_VERSION@ @@ -59,9 +59,9 @@ def build(bld): bld.install_files(includedir, bld.path.ant_glob('sratom/*.h')) # Pkgconfig file - autowaf.build_pc(bld, 'SRATOM', SRATOM_VERSION, SRATOM_MAJOR_VERSION, - ['SERD', 'SORD', 'LV2'], - {'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION}) + autowaf.build_pc(bld, 'SRATOM', SRATOM_VERSION, SRATOM_MAJOR_VERSION, [], + {'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION, + 'SRATOM_PKG_DEPS' : 'lv2 serd-0 sord-0'}) libflags = ['-fvisibility=hidden'] libs = ['m'] |