--- src/Makefile.shlib.orig 2017-04-19 15:17:03 UTC +++ src/Makefile.shlib @@ -81,7 +81,7 @@ shlib_bare = lib$(NAME)$(DLSUFFIX) # Testing the soname variable is a reliable way to determine whether a # linkable library is being built. soname = $(shlib_major) -pkgconfigdir = $(libdir)/pkgconfig +pkgconfigdir = $(prefix)/libdata/pkgconfig else # Naming convention for dynamically loadable modules shlib = $(NAME)$(DLSUFFIX)