base.bbclass:
authorHolger Freyther <zecke@selfish.org>
Sun, 17 Jul 2005 13:21:20 +0000 (13:21 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 17 Jul 2005 13:21:20 +0000 (13:21 +0000)
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

classes/base.bbclass

index 0d29de1..1da58a9 100644 (file)
@@ -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/