Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=75a7080182f46e7b51a5887be975cf8671e788fd

commit 75a7080182f46e7b51a5887be975cf8671e788fd
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Tue Mar 25 15:24:30 2008 +0100

Makefile.lib: add support for LIBOBJS
- that variable can contain additional objects to be included in a lib

diff --git a/Makefile.lib.inc b/Makefile.lib.inc
index a43db0b..6d3af99 100644
--- a/Makefile.lib.inc
+++ b/Makefile.lib.inc
@@ -12,9 +12,9 @@ clean:
rm -f *.so*
+$(DO_RECURSIVE)

-%.so: %.o
+%.so: %.o $(LIBOBJS)
$(CC) $(CFLAGS) -shared -Wl,-soname,$(basename $@).so.$(MAJORVER) -o \
-               $(basename $@).so.$(VERSION) $(basename $@).o $(LDFLAGS)
+               $(basename $@).so.$(VERSION) $(basename $@).o $(LIBOBJS) 
$(LDFLAGS)
ln -sf $(basename $@).so.$(VERSION) $(basename $@).so.$(MAJORVER)
ln -sf $(basename $@).so.$(VERSION) $(basename $@).so
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to