diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-11-28 19:11:27 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-11-28 19:11:27 +0300 |
commit | ea16a99f57d5741f5e39a15b12df693b658bb22c (patch) | |
tree | 7eacabc66482cfebe0285d25490e1cf0d177cdab /source/blender/imbuf | |
parent | 0c52fc76dd32ad82824a392d6aa2c475d65a572c (diff) |
cosmetic change to reduce console output on Os X
when libtiif is searched.
this is to reduce complaints from frightened users crying
" THERE IS AN ERROR ! "
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/dynlibtiff.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/dynlibtiff.c b/source/blender/imbuf/intern/dynlibtiff.c index 17aa0dfbf4f..7472764b7df 100644 --- a/source/blender/imbuf/intern/dynlibtiff.c +++ b/source/blender/imbuf/intern/dynlibtiff.c @@ -76,6 +76,9 @@ void libtiff_loadlibtiff(void) char *filename; libtiff = NULL; +#ifndef __APPLE__ /* no standard location of libtiff in MacOS X */ + /* declare env var if you want to use that */ + /* Try to find libtiff in a couple of standard places */ libtiff = PIL_dynlib_open("libtiff.so"); if (libtiff != NULL) return; @@ -91,6 +94,8 @@ void libtiff_loadlibtiff(void) /* For solaris */ libtiff = PIL_dynlib_open("/usr/openwin/lib/libtiff.so"); if (libtiff != NULL) return; + +#endif filename = getenv("BF_TIFF_LIB"); if (filename) libtiff = PIL_dynlib_open(filename); |