diff options
-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'] |