# HG changeset patch # User Rohit Joshi # Date 1260895363 0 # Node ID 4fcb5252b15b7a2bd248477386917521fcb1a7e5 # Parent aee982e21a00b10a36b1894beb3cc65b5f861c58 libv4l: add LD_PREPLOAD trick to /etc/profile diff -r aee982e21a00 -r 4fcb5252b15b libv4l/receipt --- a/libv4l/receipt Tue Dec 15 16:41:18 2009 +0000 +++ b/libv4l/receipt Tue Dec 15 16:42:43 2009 +0000 @@ -27,3 +27,8 @@ cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib } + +post_install() +{ + echo "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" >> $1/etc/profile +}