From: Daniel J S. <dan...@ie...> - 2004-04-27 16:19:20
|
Hans-Bernhard Broeker wrote: >Hi, everybody, > >as I already discovered when I built the DJGPP binary package, and some >users have begun discovering on other Unix platforms, the way our >configure script handles -lz is broken in several interesting ways. > >Here's a crucial snippet from config.log (wrapped around manually) >on a Linux box: > >configure:10544: checking for gdImagePng in -lgd >configure:10574: gcc -o conftest -g -O2 -I/usr/X11R6/include \ > conftest.c -lgd -lm -ljpeg -lfreetype -lpng >&5 >[...] >configure:10606: result: yes > >Note the absence of -lz in that test link. It works nevertheless, but >only because Linux has internal dependency tracking for shared libraries, >so -lpng can instruct the linker to pull in -lz. > Is there some way of deactivating this dependency/autolink feature? That might prevent similar future unforeseen problems. Dan -- Dan Sebald email: daniel DOT sebald AT ieee DOT org URL: http://acer-access DOT com/~dsebald AT acer-access DOT com/ |