enable_static_binary=no
fi
AC_MSG_RESULT([$enable_static_binary])
-if test "$nable_static_binary" = yes; then
- if test "$target_os" = darwin; then
+if test "$enable_static_binary" = yes; then
+ if test "$target_vendor" = apple; then
AC_MSG_ERROR([[Statically-linked binaries are not supported on Mac OS. See https://developer.apple.com/library/mac/#qa/qa2001/qa1118.html]])
fi
if test "$enable_static" != yes; then