clamav 0.96.1 makes use of this flag
Signed-off-by: Tom Rini <tom_rini@mentor.com>
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
}