SOURCES: libcpdf-makefile.patch - link with -lm

arekm arekm at pld-linux.org
Thu Aug 10 15:49:38 CEST 2006


Author: arekm                        Date: Thu Aug 10 13:49:38 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- link with -lm

---- Files affected:
SOURCES:
   libcpdf-makefile.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/libcpdf-makefile.patch
diff -u SOURCES/libcpdf-makefile.patch:1.2 SOURCES/libcpdf-makefile.patch:1.3
--- SOURCES/libcpdf-makefile.patch:1.2	Sun Jul 21 00:50:11 2002
+++ SOURCES/libcpdf-makefile.patch	Thu Aug 10 15:49:33 2006
@@ -57,7 +57,7 @@
 -	rm -f $(LIB_FILE)
 -	ar r $@ $(OBJS) $(POBJS) $(ZOBJS)
 +	rm -f $(SHLIB)
-+	gcc -shared -Wl,-soname,$(SHLIBMAJ) -o $(SHLIB) $(OBJS) $(ZOBJS) -lz -lc
++	gcc -shared -Wl,-soname,$(SHLIBMAJ) -o $(SHLIB) $(OBJS) $(ZOBJS) -lm -lz -lc
 +	ln -sf $(SHLIB) $(SHLIBGEN)
 +	ar rc $@ $(OBJS)
  	ranlib $@
@@ -68,7 +68,7 @@
 +$(SHLIB_FILE):  $(OBJS) $(POBJS) Makefile
 +	rm -f $(SHLIBMAJ)
 +	rm -f $(SHLIBGEN)
-+	gcc -shared -Wl,-soname,$(SHLIBMAJ) -o $(SHLIB) $(OBJS) $(ZOBJS) -lz -lc
++	gcc -shared -Wl,-soname,$(SHLIBMAJ) -o $(SHLIB) $(OBJS) $(ZOBJS) -lm -lz -lc
 +	ln -s $(SHLIB) $(SHLIBMAJ)
 +	ln -s $(SHLIB) $(SHLIB_FILE)
 +	ar rc $(LIB_FILE) $(OBJS)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/libcpdf-makefile.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list