@@ -68,12 +68,17 @@ #elif defined(__sparc__) && !defined(__arch64__) # define OF_SPARC #endif #if defined(__APPLE__) -# if defined(OF_ARM) || defined(OF_ARM64) +# include +# if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE # define OF_IOS +/* iOS has dlopen and configure will find it, but it will not work. */ +# ifdef OF_HAVE_PLUGINS +# undef OF_HAVE_PLUGINS +# endif # else # define OF_MAC_OS_X # endif #elif defined(__linux__) # define OF_LINUX