Add INSTALL notes for Solaris conflicting iconv.h headers (fixes #76)
parent
37689ef4af
commit
dfea0940ae
|
@ -0,0 +1,16 @@
|
|||
Solaris CAVEATS
|
||||
===============
|
||||
|
||||
If you are using GNU iconv library installed in f.e. /opt, you will
|
||||
need to add the header location to CMAKE= in configure invokation to
|
||||
ensure that the system iconv.h header is not used when searching for
|
||||
iconv library.
|
||||
|
||||
The resulting ./configure invokation would look something like this:
|
||||
|
||||
MAKE=gmake CC="gcc -m64" ./configure --prefix=/opt/local \
|
||||
CFLAGS="-I/opt/local/include -DHAVE_ICONV -O2 -fomit-frame-pointer -pipe -m64" \
|
||||
--with-png=/usr --with-freetype=/opt/local
|
||||
|
||||
For more information and discussion see:
|
||||
https://bitbucket.org/libgd/gd-libgd/issue/76
|
Loading…
Reference in New Issue