From 5daa132e91b8de05761b96ba40b74d8a09555f3a Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 14 Mar 2007 09:08:20 +0000 Subject: [PATCH] Branch HEAD Fix liblustre linking for LustreFUSE. --- lustre/liblustre/genlib.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lustre/liblustre/genlib.sh b/lustre/liblustre/genlib.sh index 67be276..eb6112e 100755 --- a/lustre/liblustre/genlib.sh +++ b/lustre/liblustre/genlib.sh @@ -103,10 +103,9 @@ $RANLIB $CWD/liblustre.a rm -f $CWD/liblustre.so OS=`uname` if test x$OS = xAIX; then -gcc -shared -o $CWD/liblustre.so $ALL_OBJS -lpthread -Xlinker -bnoipath ../../libsyscall.so +$LD -shared -o $CWD/liblustre.so $ALL_OBJS -lpthread -Xlinker -bnoipath ../../libsyscall.so else -$LD -shared -o $CWD/liblustre.so -init __liblustre_setup_ -fini __liblustre_cleanup_ \ - $ALL_OBJS $CAP_LIBS $PTHREAD_LIBS +$LD -shared -o $CWD/liblustre.so $ALL_OBJS $CAP_LIBS $PTHREAD_LIBS fi rm -rf $sysio_tmp -- 1.8.3.1