
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- jpeg-6b/makefile.cfg~ldflags
+++ jpeg-6b/makefile.cfg
@@ -169,7 +169,7 @@
 # with libtool:
 libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
 	$(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
-		-rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
+		-rpath $(libdir) -version-info $(JPEG_LIB_VERSION) $(LDFLAGS)
 
 # sample programs:
 
