diff --git a/kivy/core/image/osxcoreimage.pyx b/kivy/core/image/osxcoreimage.pyx index 42924c16b..a2b879dc3 100644 --- a/kivy/core/image/osxcoreimage.pyx +++ b/kivy/core/image/osxcoreimage.pyx @@ -13,8 +13,8 @@ cdef extern from "Python.h": object PyString_FromStringAndSize(char *s, Py_ssize_t len) -#cdef extern from "CoreGraphics/CGDataProvider.h": -cdef extern from "ApplicationServices/ApplicationServices.h": +cdef extern from "CoreGraphics/CGDataProvider.h": +#cdef extern from "ApplicationServices/ApplicationServices.h": ctypedef void *CFDataRef # XXX # char or int? @@ -122,8 +122,8 @@ cdef extern from "CoreGraphics/CGImage.h": int kCGImageAlphaNone -#cdef extern from "ImageIO/CGImageSource.h": -cdef extern from "QuartzCore/QuartzCore.h": +cdef extern from "ImageIO/CGImageSource.h": +#cdef extern from "QuartzCore/QuartzCore.h": ctypedef void *CGImageSourceRef CGImageSourceRef CGImageSourceCreateWithURL(CFURLRef, CFDictionaryRef) diff --git a/setup.py b/setup.py index 8866f8c67..d5087d61a 100644 --- a/setup.py +++ b/setup.py @@ -229,7 +229,6 @@ if True: libraries=ext_libraries, extra_compile_args=ext_extra_compile_args, include_dirs=ext_include_dirs, - extra_compile_args=ext_extra_compile_args, extra_link_args=ext_extra_link_args))