Use libtool to install lstat64 on $SCRATCH_MNT instead of cp. Libtool will
install the binary from the proper location and display a warning if any
shared library dependancies are not properly installed. This ensures that a
libtool wrapper shell script is not installed in place of lstat64 when libtool
wrappers are being used.
Signed-off-by: Rich Johnston <rjohnston@xxxxxxx>
---
120 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/120
===================================================================
--- a/120
+++ b/120
@@ -68,7 +68,7 @@ fi
#executable file
echo "*** copying file ***"
-cp src/lstat64 $SCRATCH_MNT
+libtool --mode=install install src/lstat64 $SCRATCH_MNT/lstat64
src/lstat64 $SCRATCH_MNT/lstat64 >$tmp.out
sleep 5
echo "*** executing file ***"
|