gtkdoc-scangobj fails if cflags contains double quotes
If passing something like '--cflags=-DFOO="bar"
then cc is called with --cflags=-DFOO=bar
, thus bar isn't anymore a string, and when used with a definition like G_LOG_DOMAIN
would always cause a failure.
For example, passing '--cflags=-DG_LOG_DOMAIN="tester"'
as argument, it will try to run:
gcc -I/opt/dev/GNOME/include/glib-2.0 -I/opt/dev/GNOME/lib/glib-2.0/include -DG_LOG_DOMAIN=tester -c -o tester-scan.o tester-scan.c
Which of course fails as tester
is not a valid symbol.
Edited by Marco Trevisan