SOURCES: crossmingw32-libjpeg-shared.patch - pass -no-undefined wh...

qboosh qboosh at pld-linux.org
Sun Jan 27 21:16:13 CET 2008


Author: qboosh                       Date: Sun Jan 27 20:16:13 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pass -no-undefined when making shared lib

---- Files affected:
SOURCES:
   crossmingw32-libjpeg-shared.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/crossmingw32-libjpeg-shared.patch
diff -u SOURCES/crossmingw32-libjpeg-shared.patch:1.1 SOURCES/crossmingw32-libjpeg-shared.patch:1.2
--- SOURCES/crossmingw32-libjpeg-shared.patch:1.1	Thu Dec 25 03:35:10 2003
+++ SOURCES/crossmingw32-libjpeg-shared.patch	Sun Jan 27 21:16:07 2008
@@ -1,7 +1,7 @@
 diff -ruN jpeg-6b./makefile.cfg jpeg-6b/makefile.cfg
 --- jpeg-6b./makefile.cfg	2003-12-25 03:23:00.000000000 +0100
 +++ jpeg-6b/makefile.cfg	2003-12-25 03:26:30.147554616 +0100
-@@ -166,6 +166,9 @@
+@@ -166,9 +166,12 @@
  	$(AR) libjpeg.a  $(LIBOBJECTS)
  	$(AR2) libjpeg.a
  
@@ -9,5 +9,9 @@
 +	$(CC) $(LIBOBJECTS) -shared -Wl,--enable-auto-image-base -o jpeg.dll -Wl,--out-implib,libjpeg.dll.a
 +
  # with libtool:
- libjpeg.la:  $(LIBOBJECTS)
- 	$(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
+ libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
+-	$(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
++	$(LIBTOOL) --mode=link $(CC) -no-undefined -o libjpeg.la $(LIBOBJECTS) \
+ 		-rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
+ 
+ # sample programs:
================================================================

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



More information about the pld-cvs-commit mailing list