mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 00:48:45 +02:00
Be more precise about Carbon v. Cocoa.
This commit is contained in:
@@ -124,9 +124,7 @@ settings_sources += \
|
||||
gregistrysettingsbackend.c
|
||||
endif
|
||||
|
||||
if OS_CARBON
|
||||
AM_CPPFLAGS += -DG_OS_CARBON
|
||||
|
||||
if OS_COCOA
|
||||
settings_sources += \
|
||||
gnextstepsettingsbackend.c
|
||||
endif
|
||||
@@ -488,8 +486,7 @@ libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
-export-dynamic $(no_undefined) $(export_symbols)
|
||||
|
||||
# This condition is misnamed. It's really checking for Cocoa, not Carbon
|
||||
if OS_CARBON
|
||||
if OS_COCOA
|
||||
# This is dumb. The ObjC source file should be properly named .m
|
||||
libgio_2_0_la_CFLAGS = -xobjective-c
|
||||
libgio_2_0_la_LDFLAGS += -framework Foundation
|
||||
|
Reference in New Issue
Block a user