[Lunar-commits] <moonbase-other> mongodb: don't install static client lib

v4hn me at v4hn.de
Sun Jul 21 01:05:30 CEST 2013


commit 173fff6329f2e3f17e571963b0402a1331112362
Author: v4hn <me at v4hn.de>
Date: Sat, 20 Jul 2013 16:05:07 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/173fff6329f2e3f17e571963b0402a1331112362

mongodb: don't install static client lib
---
  sql/mongodb/BUILD | +5/-1     
  1 file changed, 5 insertions(+), 1 deletion(-)

--- a/sql/mongodb/BUILD
+++ b/sql/mongodb/BUILD
@@ -31,4 +31,8 @@ fi &&
 
 for i in /var/{lib,log}/mongodb; do
   install -d $i -o mongodb -g mongodb -m 770
-done
+done &&
+
+# we don't want static libs to be around
+# especially not if they are 5.4M in size
+rm /usr/lib/libmongoclient.a




More information about the Lunar-commits mailing list