Glade compilation fails on Mac OS, compiler flag missing
Submitted by dav..@..ann.de
Link to original bug (#768032)
Description
I just tried to update the glade formula for homebrew (package manager) on the mac, but had some issues.
The problem is that src/glade-registration.c must be compiled with -x objective-c because it depends on AppKit.h on Mac OS, but compilation fails if -x objective-c is added to the global CFLAGS.
I made it work by just replacing "-c -o glade-glade-registration.o" with "-x objective-c -c -o glade-glade-registration.o" in src/Makefile. 1
I'm not sure how to make a real fix (probably in Makefile.am). Maybe someone can help with that?