]> git.pld-linux.org Git - packages/crossmingw32-libjpeg.git/blobdiff - crossmingw32-libjpeg-shared.patch
- release 6
[packages/crossmingw32-libjpeg.git] / crossmingw32-libjpeg-shared.patch
index 90bb74f3a5df6cde672eac24ac76b2d8981cda4d..82f8047943dd645d8b502bc43ca66819593733fd 100644 (file)
@@ -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 @@ diff -ruN jpeg-6b./makefile.cfg jpeg-6b/makefile.cfg
 +      $(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:
This page took 0.030417 seconds and 4 git commands to generate.