Commit 6f1c103a authored by Simon Morlat's avatar Simon Morlat

fix macos build

parent 9762409e
......@@ -45,15 +45,15 @@ dnl AC_PROG_CC_C99
LT_INIT(win32-dll)
case "$target" in
#macosx 64 bits
x86_64-apple-darwin)
LIBS="$LIBS -framework Foundation"
OBJCFLAGS="$OBJCFLAGS -fmodules"
build_apple=yes
;;
x86_64-apple-darwin.ios|i386-apple*|armv6-apple*|armv7-apple*|armv7s-apple*|arm64-apple*|aarch64-apple*)
*-apple-darwin.ios|i386-apple*|armv6-apple*|armv7-apple*|armv7s-apple*|arm64-apple*|aarch64-apple*)
LIBS="$LIBS -framework Foundation -framework CoreFoundation -framework CFNetwork -framework UIKit"
build_apple=yes
;;
#macosx 64 bits
x86_64-apple-darwin*)
LIBS="$LIBS -framework Foundation"
OBJCFLAGS="$OBJCFLAGS -fmodules"
build_apple=yes
;;
esac
......
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