gdk: Temporarily add -xobjective-c to CFLAGS
To enable compiling the quartz backend after a6a4428
This commit is contained in:
@ -174,6 +174,7 @@ libgdk_3_la_LIBADD += x11/libgdk-x11.la
|
|||||||
endif # USE_X11
|
endif # USE_X11
|
||||||
|
|
||||||
if USE_QUARTZ
|
if USE_QUARTZ
|
||||||
|
libgdk_3_la_CFLAGS = -xobjective-c
|
||||||
libgdk_3_la_LIBADD += quartz/libgdk-quartz.la
|
libgdk_3_la_LIBADD += quartz/libgdk-quartz.la
|
||||||
endif # USE_QUARTZ
|
endif # USE_QUARTZ
|
||||||
|
|
||||||
|
|||||||
@ -38,11 +38,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GDK_WINDOWING_QUARTZ
|
#ifdef GDK_WINDOWING_QUARTZ
|
||||||
/* We immediately include gdkquartzdisplaymanager.h here instead of
|
/* When the gdk_quartz_display_open function is removed We can
|
||||||
* gdkquartz.h so that we do not have to enable -xobjective-c for the
|
* immediately include gdkquartzdisplaymanager.h here instead of
|
||||||
* "generic" GDK source code.
|
* gdkprivate-quartz.h so that we won't have to enable -xobjective-c
|
||||||
|
* for the "generic" GDK source code.
|
||||||
|
* #include "quartz/gdkquartzdisplaymanager.h"
|
||||||
*/
|
*/
|
||||||
#include "quartz/gdkquartzdisplaymanager.h"
|
|
||||||
#include "quartz/gdkprivate-quartz.h"
|
#include "quartz/gdkprivate-quartz.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user