--- src/Makefile.shlib.bak 2013-05-06 22:57:06.000000000 +0200 +++ src/Makefile.shlib 2013-05-12 23:33:16.000000000 +0200 @@ -87,7 +87,7 @@ # 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)