From: Holger Freyther Date: Sun, 17 Jul 2005 13:21:20 +0000 (+0000) Subject: base.bbclass: X-Git-Tag: Release-2010-05/1~9453^2~4148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ad3651f6fc5ecf543246094a4786310e24bcb1;p=openembedded.git base.bbclass: Make it compatible with FreeBSD Replace --no-derefence with -P according to the GNU cp manpage this option is the same as --no-derenfe and FreeBSD knows -P as well --- diff --git a/classes/base.bbclass b/classes/base.bbclass index 0d29de144a..1da58a924e 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -199,7 +199,7 @@ oe_libinstall() { oefatal "oe_libinstall: $dir/$f not found." fi elif [ -L "$f" ]; then - __runcmd cp --no-dereference "$f" $destpath/ + __runcmd cp -P "$f" $destpath/ elif [ ! -L "$f" ]; then libfile="$f" __runcmd install -m 0755 $libfile $destpath/