]> git.pld-linux.org Git - packages/crossmingw32-libjpeg.git/blame - crossmingw32-libjpeg-shared.patch
- pass -no-undefined when making shared lib
[packages/crossmingw32-libjpeg.git] / crossmingw32-libjpeg-shared.patch
CommitLineData
120dba18 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
faf28fe2 4@@ -166,9 +166,12 @@
120dba18 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:
faf28fe2
JB
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.028572 seconds and 4 git commands to generate.