diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-06-03 10:36:37 +0200 |
---|---|---|
committer | Felipe Contreras <felipe.contreras@nokia.com> | 2011-07-15 15:02:58 +0300 |
commit | cc7db334c4c040e526dc703794efca11c7109aa2 (patch) | |
tree | df10ce8106640b0164778c0f26ab379eb4628828 | |
parent | ab7f0e5101412b1b88c0a84f69cfcda5e22ab3c3 (diff) |
build: pass $(DEFS) to cpp
Otherwise -DHAVE_CONFIG_H is not passed.
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
-rw-r--r-- | omx/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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 |