[Frugalware-git] setup: add some libs from glib2 when gui enabled

Elentir elentir at mailoo.org
Wed Mar 10 21:36:20 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=41a1bf84e0e96d446837edba044b3d763f889d72

commit 41a1bf84e0e96d446837edba044b3d763f889d72
Author: Elentir <elentir at mailoo.org>
Date:   Mon Feb 8 21:57:50 2010 +0100

add some libs from glib2 when gui enabled

diff --git a/Makefile b/Makefile
index ec4d7b8..274085b 100644
--- a/Makefile
+++ b/Makefile
@@ -577,8 +577,12 @@ rp-pppoe:
glib2:
$(CLEANUP)
mkdir -p glib2/usr/lib
-	$(UNPACK); \
-	cp -a usr/lib/libglib-2.0.so* ../glib2/usr/lib/
+	$(UNPACK)
+ifeq ($(GUI),false)
+	cp -a $(BDIR)/usr/lib/libglib-2.0.so* glib2/usr/lib/
+else
+	cp -a $(BDIR)/usr/lib/*.so* glib2/usr/lib/
+endif

parted:
$(CLEANUP)


More information about the Frugalware-git mailing list