summaryrefslogtreecommitdiff
path: root/classes/pkgconfig.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pkgconfig.bbclass')
-rw-r--r--classes/pkgconfig.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index 6b9b80d90b..2a8199d135 100644
--- a/classes/pkgconfig.bbclass
+++ b/classes/pkgconfig.bbclass
@@ -4,7 +4,7 @@ DEPENDS_prepend = "pkgconfig-native "
do_install_prepend () {
-for i in `find ${S}/ -name "*.pc"` ; do \
+for i in `find ${S}/ -name "*.pc" -type f` ; do \
sed -i -e 's:-L${STAGING_LIBDIR}::g' $i
done
}