summaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2022-08-11 23:17:52 +0100
committerAlex Richardson <arichardson@FreeBSD.org>2022-08-11 23:18:34 +0100
commitac175bd33a21b7f357cffe37117dc5afa6d7c5fb (patch)
tree236439ab1b8910506559b382dc1997da8b4f3c75 /Makefile.libcompat
parent92b5b97cb089677df5f2c72ab8fb44a34fd21ae9 (diff)
Install working pkgconfig .pc files for compat libraries
The default ones are install them to /usr/libdata/pkgconfig, and we can't use this path for compat libraries, so we use /usr/lib<suffix>/pkgconfigi here. Test Plan: grep -rn libdir= ./usr/lib32/pkgconfig/*.pc MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34939
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index a1f683c77a49..c8a71225f802 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -15,6 +15,7 @@ LIBCOMPATWMAKEENV+= \
SYSROOT=${WORLDTMP} \
LIBDIR=/usr/lib${libcompat} \
SHLIBDIR=/usr/lib${libcompat} \
+ LIBDATADIR=/usr/lib${libcompat} \
DTRACE="${LIB$COMPATDTRACE:U${DTRACE}}"
.if ${MK_META_MODE} != "no"
# Don't rebuild build-tools targets during normal build.