Commit 35324692 by Sam Stephenson

Build REE --without-tk on Darwin if X11 is missing

Fixes #267
parent 5f129640
......@@ -400,6 +400,12 @@ build_package_ree_installer() {
local options=""
if [[ "Darwin" = "$(uname)" ]]; then
options="--no-tcmalloc"
# Some versions of REE mistakenly detect Tk support
# on OS X even though X11 is not installed.
if [ ! -d "/usr/include/X11" ]; then
options="$options -c --without-tk"
fi
fi
local option
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment