From c0f128e401a1767a791d659a126aba207376c0ef Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 9 Jan 2009 00:44:05 +0100 Subject: [PATCH] libjpeg-cflags.patch Update the ancient libtool and configure scripts shipped with libjpeg-6b. --- makefile.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile.cfg b/makefile.cfg index f25e42e..ca5ed3d 100644 --- a/makefile.cfg +++ b/makefile.cfg @@ -54,7 +54,7 @@ SYSDEPMEM= @MEMORYMGR@ # miscellaneous OS-dependent stuff SHELL= /bin/sh # linker -LN= @LN@ +LN= @LN@ $(CFLAGS) # file deletion command RM= rm -f # directory creation command @@ -168,7 +168,7 @@ libjpeg.a: @A2K_DEPS@ $(LIBOBJECTS) # with libtool: libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS) - $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \ + $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libjpeg.la $(LIBOBJECTS) \ -rpath $(libdir) -version-info $(JPEG_LIB_VERSION) # sample programs: -- cgit v1.2.3