mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Pass -framework sub-flag without embedded whitespace
The "-framework" linker flag takes a second word as a parameter. If they are passed separated with whitespace, some flag-handling routines may not know to keep the two words together as a single unit. Use -Wl,, to pass multiple words without embedded whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=566994
This commit is contained in:
committed by
Colin Walters
parent
4690d85607
commit
f3ff037bd1
@@ -515,7 +515,7 @@ libgio_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
|
||||
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
|
||||
libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation
|
||||
endif
|
||||
|
||||
libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
|
||||
|
Reference in New Issue
Block a user