Open GoogleCodeExporter opened 9 years ago
I had the same problem under a Cygwin environment w/ Mingw as a compiler, I
bypassed the script detection like this:
ac_cv_search_png_get_libpng_ver="none required"
LIBPNG_CONFIG=/mingw64/bin/libpng-config ./configure (...)
Original comment by zebo...@gmail.com
on 3 Jan 2014 at 1:26
Original comment by pascal.m...@gmail.com
on 19 Aug 2014 at 12:49
There are a few issues here:
1) the suggestion for --ldflags over --prefix + --libs
2) it wasn't clear, but it seemed like the expectation was that
'--disable-shared' would modify this check (and presumably control static
linking of the binaries).
(1) seems reasonable.
For (2) it would be better to define another option rather than overload
'--disable-shared' which is meant to control the generation of shared object
files. This is a somewhat uncommon case and can be done currently with
--with-pnglibdir/--with-pngincludedir, these will override the libpng-config
check.
Original comment by jz...@google.com
on 9 Sep 2014 at 10:53
Original issue reported on code.google.com by
jamr...@gmail.com
on 2 Jan 2014 at 9:14