[Lunar-commits] <moonbase> attr: do not leave a dead symlink to libattr.a at install.

Florin Braescu florin at lunar-linux.org
Thu May 5 16:03:24 CEST 2011


commit 9de0517590b1297dede8592b6326cd5084e3325e
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Thu May 5 17:03:24 2011 +0300

    attr: do not leave a dead symlink to libattr.a at install.
---
 filesys/attr/BUILD |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/filesys/attr/BUILD b/filesys/attr/BUILD
index 87fefa2..319414d 100644
--- a/filesys/attr/BUILD
+++ b/filesys/attr/BUILD
@@ -1,11 +1,12 @@
 (
 
-  OPTS+=" --disable-static" &&
+  OPTS+=" --disable-static"  &&
 
-  export DEBUG=-DNDEBUG &&
+  export DEBUG=-DNDEBUG  &&
 
-  default_build &&
-  make install-dev &&
-  make install-lib
+  default_build     &&
+  make install-dev  &&
+  make install-lib  &&
+  rm -f /usr/lib/libattr.a
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list