--- Makefile.am.orig	2021-08-14 20:26:24 UTC
+++ Makefile.am
@@ -60,7 +60,7 @@ SUBDIRS = src $(MAYBE_DOC) $(MAYBE_TESTS)
 
 DIST_SUBDIRS = src doc test-data spandsp-sim tests
 
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(libdir)data/pkgconfig
 pkgconfig_DATA = spandsp.pc
 
 faq: faq.xml
