SOURCES: CAMD-shared.patch - use *.lo for linking the library

qboosh qboosh at pld-linux.org
Fri Jan 4 23:54:27 CET 2008


Author: qboosh                       Date: Fri Jan  4 22:54:27 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use *.lo for linking the library

---- Files affected:
SOURCES:
   CAMD-shared.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/CAMD-shared.patch
diff -u SOURCES/CAMD-shared.patch:1.2 SOURCES/CAMD-shared.patch:1.3
--- SOURCES/CAMD-shared.patch:1.2	Fri Dec  7 17:41:18 2007
+++ SOURCES/CAMD-shared.patch	Fri Jan  4 23:54:21 2008
@@ -63,7 +63,7 @@
 -	$(AR) libcamd.a $^
 -	- $(RANLIB) libcamd.a
 +libcamd.la: camd_global.o $(CAMDI) $(CAMDL)
-+	libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcamd.la -rpath $(libdir) $^ -lm
++	libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcamd.la -rpath $(libdir) $(^:.o=.lo) -lm
 +
 +install: libcamd.la
 +	install -d $(DESTDIR)$(libdir)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/CAMD-shared.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list