]> git.pld-linux.org Git - packages/libjpeg.git/commitdiff
- build with system libtool that can work with CC containing spaces
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 23 Oct 2006 14:17:27 +0000 (14:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libjpeg-libtool.patch -> 1.1

libjpeg-libtool.patch [new file with mode: 0644]

diff --git a/libjpeg-libtool.patch b/libjpeg-libtool.patch
new file mode 100644 (file)
index 0000000..3037a3e
--- /dev/null
@@ -0,0 +1,44 @@
+--- jpeg-6b/configure  1998-03-21 21:08:57.000000000 +0200
++++ jpeg-6b.libtool/configure  2006-10-23 17:03:19.529255759 +0300
+@@ -1529,10 +1529,10 @@
+ if test "x$LTSHARED" != xno  -o  "x$LTSTATIC" != xno; then
+   USELIBTOOL="yes"
+-  LIBTOOL="./libtool"
++  LIBTOOL="libtool"
+   O="lo"
+   A="la"
+-  LN='$(LIBTOOL) --mode=link $(CC)'
++  LN='$(LIBTOOL) --tag=CC --mode=link $(CC)'
+   INSTALL_LIB='$(LIBTOOL) --mode=install ${INSTALL}'
+   INSTALL_PROGRAM="\$(LIBTOOL) --mode=install $INSTALL_PROGRAM"
+ else
+--- jpeg-6b/makefile.cfg       2006-10-23 17:04:59.081491199 +0300
++++ jpeg-6b.libtool/makefile.cfg       2006-10-23 17:04:27.360778917 +0300
+@@ -140,7 +140,7 @@
+ # How to compile with libtool.
+ @COM_LT@.c.lo:
+-@COM_LT@      $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/$*.c
++@COM_LT@      $(LIBTOOL) --tag=CC --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+ # How to use ansi2knr, when not using libtool.
+ @COM_A2K@.c.o:
+@@ -151,7 +151,7 @@
+ # How to use ansi2knr AND libtool.
+ @COM_A2K@.c.lo:
+ @COM_A2K@     ./ansi2knr $(srcdir)/$*.c knr/$*.c
+-@COM_A2K@     $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c knr/$*.c
++@COM_A2K@     $(LIBTOOL) --tag=CC --mode=compile $(CC) $(CFLAGS) -c knr/$*.c
+ @COM_A2K@     $(RM) knr/$*.c
+ ansi2knr: ansi2knr.c
+@@ -168,7 +168,7 @@
+ # with libtool:
+ libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
+-      $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
++      $(LIBTOOL) --tag=CC --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
+               -rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
+ # sample programs:
This page took 0.032586 seconds and 4 git commands to generate.