]> git.pld-linux.org Git - packages/crossmingw32-libjpeg.git/blame_incremental - crossmingw32-libjpeg-shared.patch
- updated shared patch, replaced one pseudo-libtool hack with another using real...
[packages/crossmingw32-libjpeg.git] / crossmingw32-libjpeg-shared.patch
... / ...
CommitLineData
1diff -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.032424 seconds and 4 git commands to generate.