Created attachment 11110[details]
support for zlib in nonstandard directory
Hello,
I want to use zlib in a nonstandard directory:
./configure LDFLAGS=-L/nonstandard/zlib
make
But this yields to this link step:
gcc -g -O2 -Wall -W -o ccache <objects> -lz -L/nonstandard/zlib -lm
As -lz is given before -L/nonstandard/zlib, -L/nonstandard/zlib is ignored.
The correct link step would be:
gcc -g -O2 -Wall -W -o ccache <objects> -L/nonstandard/zlib -lz -lm
The attached patch modify configure.ac in such a way.
Best regards,
David