From cc7db334c4c040e526dc703794efca11c7109aa2 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Fri, 3 Jun 2011 10:36:37 +0200 Subject: build: pass $(DEFS) to cpp Otherwise -DHAVE_CONFIG_H is not passed. Signed-off-by: Felipe Contreras --- omx/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/Makefile.am b/omx/Makefile.am index ce4c438..6d99db7 100644 --- a/omx/Makefile.am +++ b/omx/Makefile.am @@ -54,7 +54,7 @@ EXTRA_DIST = headers gstomx.conf gstomx_conf.c # (ie. "foo" "bar" becomes "foobar") so they are handled similar to what the # C compiler does itself gstomx.conf: gstomx.conf.in - cat $^ | $(CPP) -P $(CFLAGS) $(libgstomx_la_CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) - | sed 's/\"\ *\"//g' > $@ + cat $^ | $(CPP) -P $(DEFS) $(CFLAGS) $(libgstomx_la_CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) - | sed 's/\"\ *\"//g' > $@ # more sed magic to convert the pre-processed config file into a C file # containing one big string. This is linked in and used as the default -- cgit v1.2.3