From 3cc087133959c547ef9acc0897e741f3a2ebfdc7 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Sat, 24 Jul 2021 11:33:33 -0400 Subject: [PATCH] Only install libmdbsql.pc if libmdbsql is built --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 0a84b03..cfff517 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,4 +6,7 @@ DEFDIR = $(prefix) EXTRA_DIST = HACKING HACKING.md libmdb.pc.in libmdbsql.pc.in README.md pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libmdb.pc libmdbsql.pc +pkgconfig_DATA = libmdb.pc +if SQL +pkgconfig_DATA += libmdbsql.pc +endif