libmng: use LDFLAGS (fixes QA error)
[openembedded.git] / recipes / libmng / libmng / ldflags.patch
1 diff -urN libmng-1.0.8.orig/makefiles/makefile.linux libmng-1.0.8/makefiles/makefile.linux
2 --- libmng-1.0.8.orig/makefiles/makefile.linux  2004-08-06 07:17:40.000000000 +0000
3 +++ libmng-1.0.8/makefiles/makefile.linux       2009-04-06 11:49:45.000000000 +0000
4 @@ -105,7 +105,7 @@
5  libmng.so.$(MNGVER): $(OBJSDLL)
6  #      $(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
7  #      $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -L$(LCMSLIB) -lz -lm -lc
8 -       $(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
9 +       $(CC) $(LDFLAGS) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
10         $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -ljpeg -L$(LCMSLIB) -llcms \
11      -lz -lm -lc
12