diff --git a/ext/fox16/extconf.rb b/ext/fox16/extconf.rb index 196efd30998b674cad38408f8ce200fd55804e20..5df4807c075da9b2bfe2c9cf8a0a3a24e4f00413 100755 --- a/ext/fox16/extconf.rb +++ b/ext/fox16/extconf.rb @@ -80,6 +80,8 @@ def do_rake_compiler_setup elsif RUBY_PLATFORM =~ /darwin/ $CFLAGS = $CFLAGS + " -I/usr/X11/include" # for built-in libpng $LDFLAGS = $LDFLAGS + " -L/usr/X11/lib" # for built-in libpng + $CFLAGS = $CFLAGS + " -I/usr/local/include" # for libjpeg and libtiff + $LDFLAGS = $LDFLAGS + " -L/usr/local/lib" # for libjpeg and libtiff end $libs = append_library($libs, "stdc++") have_header("sys/time.h") unless RUBY_PLATFORM =~ /mingw/