cups: fix static linking
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 5 Mar 2014 15:30:00 +0000 (15:30 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Mar 2014 23:44:51 +0000 (00:44 +0100)
commit2bba6998233d18add174a621bd35747a769bcd87
tree0c09d18ca41863eab3b447e7c01876ee83779b33
parenta85c452a2d288a6344b1b9770752b1869a75ad03
cups: fix static linking

Append -lz to the cups linking libs to fix a problem like this one:

../cups/libcups.a(file.o): In function `cupsFileSeek':
/home/test/test/1/output/build/cups-1.3.11/cups/file.c:1444: undefined
reference to `inflateEnd'
collect2: error: ld returned 1 exit status
make[2]: *** [ipp] Error 1
make[2]: *** Waiting for unfinished jobs....

This solution is the same used upstream in newer versions.

Fixes:
   http://autobuild.buildroot.net/results/f3d/f3d4f67ce7ee1d54f5bd4c87dfddb7417db614e5/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cups/cups-0001-fix-static.patch [new file with mode: 0644]