- pass -no-undefined when making shared lib
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 27 Jan 2008 20:16:07 +0000 (20:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw32-libjpeg-shared.patch -> 1.2

crossmingw32-libjpeg-shared.patch

index 90bb74f..82f8047 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.127232 seconds and 4 git commands to generate.