mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
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)
|
||||
|
||||
osx_source_c_priv = $(srcdir)/osx/clutter-event-osx.c
|
||||
|
||||
if SUPPORT_OSX
|
||||
# we need to tell the compiler that part of our code base is
|
||||
# in Objective C
|
||||
AM_CFLAGS += -xobjective-c
|
||||
|
||||
backend_source_h += $(osx_source_h)
|
||||
@ -481,6 +484,8 @@ fruity_source_h = \
|
||||
$(NULL)
|
||||
|
||||
if SUPPORT_FRUITY
|
||||
AM_CFLAGS += -xobjective-c
|
||||
|
||||
backend_source_c_priv += $(fruity_source_c)
|
||||
backend_source_h_priv += $(fruity_source_h)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user