On Mon, Oct 09, 2006, Bill Campbell wrote: > The attached patch to the Release 2.5 version of pdflib fixes a > problem building on SuSE Linux Enterprise 10 in which the build > was failing saying it didn't know how to build ``-lpng''. > > It turns out that the included piece for the Makefile uses the > variables PNGLIBLINK and JPEGLIBLINK in dependencies so requires > file names here, not loader options. I put in a couple of loops > through the l_ldflags macro to test for the libraries since on > the 64 bit machines this may need to check multiple directories. > > It also required adding ``-lpng -ljpeg'' to LDFLAGS to get things > to load properly. > > Looking at the pdflib.spec file in the CURRENT version of pdflib, > it appears that it should have the same patch applied.
Ok, now fixed in CURRENT with pdflib-7.0.0-20061010 and higher. I've just not taken over the loop as it is not required because we explicitly depended on _OUR_ "png", "jpeg" and "zlib" and this way we know precisely the path to the libxxx.a file. Thanks for your contribution, Bill. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org