further comments from mailtainers of debian lua packages:
The simplest workaround is to call it (pkg-config) this way:
pkg-config --cflags lua5.1 | sed -e "s/\\/'/" -e "s/\\"/"'/"
But the best would be to make the authors of these makefiles aware that something like -DFOO="bar" is a valid flag for gcc and their makefiles should be able to deal with it. I've already pointed out the place that needs fixing.
which was this:
quote:= " escall= $(subst $$,$$,$(subst $(quote),$(quote),$1)) exec_cmd= $(if $($(quiet)_cmd_$(1)),\ @echo "$(call escall,$($(quiet)_cmd_$(1)))" ;) $(cmd_$(1))
-- juha
Hello,
thanks for investigating it.
For the moment, I think you can go ahead and commit this proposed patch for a quick fix in modules/app_lua/Makefile.
When time will allow, we can look to get a generic fix in the core makefiles.
Cheers, Daniel
On 6/6/12 8:51 PM, Juha Heinanen wrote:
further comments from mailtainers of debian lua packages:
The simplest workaround is to call it (pkg-config) this way:
pkg-config --cflags lua5.1 | sed -e "s/\\\\/'/" -e "s/\\\\\"/\"'/"
But the best would be to make the authors of these makefiles aware that something like -DFOO="bar" is a valid flag for gcc and their makefiles should be able to deal with it. I've already pointed out the place that needs fixing.
which was this:
quote:= " escall= $(subst $$,$$,$(subst $(quote),$(quote),$1)) exec_cmd= $(if $($(quiet)_cmd_$(1)),\ @echo "$(call escall,$($(quiet)_cmd_$(1)))" ;) $(cmd_$(1))
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev