pkgconfig.bbclass: do not mess with .pc dirs from quilt
authorHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 23 Sep 2008 21:46:52 +0000 (21:46 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 23 Sep 2008 21:46:52 +0000 (21:46 +0000)
* add -type f to find command so we do not try to sed .pc dir from quilt

classes/pkgconfig.bbclass

index 6b9b80d..2a8199d 100644 (file)
@@ -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
 }