wok-next rev 4609
libv4l: add LD_PREPLOAD trick to /etc/profile
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Dec 15 16:42:43 2009 +0000 (2009-12-15) |
parents | aee982e21a00 |
children | 2da8547f534b |
files | libv4l/receipt |
line diff
1.1 --- a/libv4l/receipt Tue Dec 15 16:41:18 2009 +0000 1.2 +++ b/libv4l/receipt Tue Dec 15 16:42:43 2009 +0000 1.3 @@ -27,3 +27,8 @@ 1.4 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 1.5 1.6 } 1.7 + 1.8 +post_install() 1.9 +{ 1.10 + echo "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" >> $1/etc/profile 1.11 +}