SOURCES: CXSparse-shared.patch - use *.lo to link the library
qboosh
qboosh at pld-linux.org
Sat Jan 5 00:30:23 CET 2008
Author: qboosh Date: Fri Jan 4 23:30:23 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use *.lo to link the library
---- Files affected:
SOURCES:
CXSparse-shared.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/CXSparse-shared.patch
diff -u SOURCES/CXSparse-shared.patch:1.2 SOURCES/CXSparse-shared.patch:1.3
--- SOURCES/CXSparse-shared.patch:1.2 Fri Dec 7 17:41:18 2007
+++ SOURCES/CXSparse-shared.patch Sat Jan 5 00:30:18 2008
@@ -95,7 +95,6 @@
clean:
-Only in CXSparse-shared/Demo: Makefile~
diff -ur CXSparse/Lib/Makefile CXSparse-shared/Lib/Makefile
--- CXSparse/Lib/Makefile 2007-12-07 17:08:37.000000000 +0100
+++ CXSparse-shared/Lib/Makefile 2007-12-07 17:17:19.000000000 +0100
@@ -135,7 +134,7 @@
- $(AR) libcxsparse.a $(CS)
- $(RANLIB) libcxsparse.a
+libcxsparse.la: $(CS)
-+ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcxsparse.la -rpath $(libdir) $^ -lm
++ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcxsparse.la -rpath $(libdir) $(^:.o=.lo) -lm
+
+install: libcxsparse.la
+ install -d $(DESTDIR)$(libdir)
@@ -143,4 +142,3 @@
clean:
rm -f *.o
-Only in CXSparse-shared/Lib: Makefile~
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/CXSparse-shared.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list