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