pkconfig.bbclass: Add -R... to the regex, and reindent.
authorTom Rini <tom_rini@mentor.com>
Wed, 14 Jul 2010 20:15:41 +0000 (13:15 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 14 Jul 2010 20:44:35 +0000 (13:44 -0700)
clamav 0.96.1 makes use of this flag

Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/pkgconfig.bbclass

index f3d9371..cf37ca1 100644 (file)
@@ -1,9 +1,11 @@
 DEPENDS_prepend = "pkgconfig-native "
 
 do_install_prepend () {
-
-for i in `find ${S}/ -name "*.pc" -type f` ; do \
-            sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' $i
+       for i in `find ${S}/ -name "*.pc" -type f` ; do \
+               sed -i -e 's:-L${STAGING_LIBDIR}::g' \
+                       -e 's:-R${STAGING_LIBDIR}::g' \
+                       -e 's:-I${STAGING_INCDIR}::g' \
+                       $i
         done
 }