OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libjpeg/libtool-tag.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. libtool can't understand what our $(CC) is, let's help him.
  17. --- ./makefile.cfg.orig 2006-09-24 09:07:04.000000000 +0200
  18. +++ ./makefile.cfg 2006-09-24 09:17:23.000000000 +0200
  19. @@ -140,7 +140,7 @@
  20. # How to compile with libtool.
  21. @COM_LT@.c.lo:
  22. -@COM_LT@ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/$*.c
  23. +@COM_LT@ $(LIBTOOL) --mode=compile --tag CC $(CC) $(CFLAGS) -c $(srcdir)/$*.c
  24. # How to use ansi2knr, when not using libtool.
  25. @COM_A2K@.c.o:
  26. @@ -168,7 +168,7 @@
  27. # with libtool:
  28. libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
  29. - $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
  30. + $(LIBTOOL) --mode=link --tag CC $(CC) -o libjpeg.la $(LIBOBJECTS) \
  31. -rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
  32. # sample programs:
  33. --- ./configure.orig 2006-09-24 09:34:05.000000000 +0200
  34. +++ ./configure 2006-09-24 09:34:27.000000000 +0200
  35. @@ -1532,7 +1532,7 @@
  36. LIBTOOL="libtool"
  37. O="lo"
  38. A="la"
  39. - LN='$(LIBTOOL) --mode=link $(CC)'
  40. + LN='$(LIBTOOL) --mode=link --tag CC $(CC)'
  41. INSTALL_LIB='$(LIBTOOL) --mode=install ${INSTALL}'
  42. INSTALL_PROGRAM="\$(LIBTOOL) --mode=install $INSTALL_PROGRAM"
  43. else