[Lunar-commits] <moonbase> libcap: no static libs

Christian Krause wookietreiber at lunar-linux.org
Sun May 29 15:05:20 CEST 2011


commit 34681c21ea2bb22e67fd27ec294e4049cb18a6ba
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Sun May 29 15:05:20 2011 +0200

    libcap: no static libs
---
 libs/libcap/BUILD |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/libs/libcap/BUILD b/libs/libcap/BUILD
index 9ca963d..f869949 100644
--- a/libs/libcap/BUILD
+++ b/libs/libcap/BUILD
@@ -4,6 +4,10 @@
   # Failed to set capabilities on file `/sbin/setcap' (Operation not supported)
   patch_it $SOURCE2 1 &&
 
-  default_build
+  # no static libs
+  sedit "s/all: \$(MINLIBNAME) \$(STALIBNAME)/all: \$(MINLIBNAME)/g" libcap/Makefile &&
+  sedit "/install -m 0644 \$(STALIBNAME)/d"                          libcap/Makefile &&
+
+  default_make
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list