diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-06-28 08:23:25 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-06-28 08:23:25 +0200 |
commit | dfea0940aebee5e46e9fa90ff4b82617b2dc6aa0 (patch) | |
tree | 9d1153fc1178040aa79b7ca755bf100c6afa3975 /docs | |
parent | 37689ef4af4b7f9d91c33b3142426545b1c57d6a (diff) | |
download | libgd-dfea0940aebee5e46e9fa90ff4b82617b2dc6aa0.tar.gz |
Add INSTALL notes for Solaris conflicting iconv.h headers (fixes #76)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL.Solaris | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/INSTALL.Solaris b/docs/INSTALL.Solaris new file mode 100644 index 0000000..d6b5bd1 --- /dev/null +++ b/docs/INSTALL.Solaris @@ -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 |