- release 6
[packages/crossmingw32-libjpeg.git] / crossmingw32-libjpeg-shared.patch
1 diff -ruN jpeg-6b./makefile.cfg jpeg-6b/makefile.cfg
2 --- jpeg-6b./makefile.cfg       2003-12-25 03:23:00.000000000 +0100
3 +++ jpeg-6b/makefile.cfg        2003-12-25 03:26:30.147554616 +0100
4 @@ -166,9 +166,12 @@
5         $(AR) libjpeg.a  $(LIBOBJECTS)
6         $(AR2) libjpeg.a
7  
8 +jpeg.dll: $(LIBOBJECTS)
9 +       $(CC) $(LIBOBJECTS) -shared -Wl,--enable-auto-image-base -o jpeg.dll -Wl,--out-implib,libjpeg.dll.a
10 +
11  # with libtool:
12  libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
13 -       $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
14 +       $(LIBTOOL) --mode=link $(CC) -no-undefined -o libjpeg.la $(LIBOBJECTS) \
15                 -rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
16  
17  # sample programs:
This page took 0.030212 seconds and 3 git commands to generate.