summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 13e9824..35ffaf5 100644
--- a/abuild.in
+++ b/abuild.in
@@ -678,6 +678,12 @@ postcheck() {
find "$dir" -name '*.la' -type f -delete
fi
+ # ensure .pc files are in /usr/lib not /lib
+ if [ -e "$dir"/lib/pkgconfig ]; then
+ error "Found /lib/pkgconfig - needs to be moved to /usr/lib"
+ return 1
+ fi
+
# look for /usr/lib/charset.alias
if [ -e "$dir"/usr/lib/charset.alias ] \
&& ! options_has "charset.alias"; then