build: Add -xobjective-c to the fruity backend section
Like we do for the Quartz backend, we should turn on the -xobjective-c compiler flag for the Fruity backend. This does not mean that the backend actually works.
This commit is contained in:
parent
db5e33d4a5
commit
bdb24701f0
@ -455,7 +455,10 @@ osx_source_h_priv = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
osx_source_c_priv = $(srcdir)/osx/clutter-event-osx.c
|
osx_source_c_priv = $(srcdir)/osx/clutter-event-osx.c
|
||||||
|
|
||||||
if SUPPORT_OSX
|
if SUPPORT_OSX
|
||||||
|
# we need to tell the compiler that part of our code base is
|
||||||
|
# in Objective C
|
||||||
AM_CFLAGS += -xobjective-c
|
AM_CFLAGS += -xobjective-c
|
||||||
|
|
||||||
backend_source_h += $(osx_source_h)
|
backend_source_h += $(osx_source_h)
|
||||||
@ -481,6 +484,8 @@ fruity_source_h = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
if SUPPORT_FRUITY
|
if SUPPORT_FRUITY
|
||||||
|
AM_CFLAGS += -xobjective-c
|
||||||
|
|
||||||
backend_source_c_priv += $(fruity_source_c)
|
backend_source_c_priv += $(fruity_source_c)
|
||||||
backend_source_h_priv += $(fruity_source_h)
|
backend_source_h_priv += $(fruity_source_h)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user