summaryrefslogtreecommitdiff
path: root/tools/gst-element-maker
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-04-26 15:13:55 +0300
committerStefan Kost <ensonic@users.sf.net>2011-04-26 15:21:50 +0300
commitbec03b8e19bd00d55ea623db9c11787a5b6369ae (patch)
tree83e0bc09dfee05ee3dd0690174382b3af8fab5fb /tools/gst-element-maker
parentf7f5946fd3e6fe8450796d50e08c0954e7cc4f99 (diff)
downloadgstreamer-plugins-bad-bec03b8e19bd00d55ea623db9c11787a5b6369ae.tar.gz
element-maker: set CPPFLAGS to make templates using uninstalled headers work
Diffstat (limited to 'tools/gst-element-maker')
-rwxr-xr-xtools/gst-element-maker2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gst-element-maker b/tools/gst-element-maker
index 81c5d7a28..4255aa8c2 100755
--- a/tools/gst-element-maker
+++ b/tools/gst-element-maker
@@ -379,7 +379,7 @@ gst-indent $gstreplace.c
echo pkg is $pkg
-gcc -Wall -fPIC $(pkg-config --cflags gstreamer-0.10 $pkg) -c -o $gstreplace.o $gstreplace.c
+gcc -Wall -fPIC $CPPFLAGS $(pkg-config --cflags gstreamer-0.10 $pkg) -c -o $gstreplace.o $gstreplace.c
if test $? -ne 0; then
exit 1
fi