mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
element-maker: set CPPFLAGS to make templates using uninstalled headers work
This commit is contained in:
parent
f7f5946fd3
commit
bec03b8e19
2 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,8 @@ EXTRA_DIST = \
|
|||
|
||||
TESTS_ENVIRONMENT = \
|
||||
SRC_DIR=$(abs_srcdir) \
|
||||
TEMPLATE_FILES="$(templatefiles)"
|
||||
TEMPLATE_FILES="$(templatefiles)" \
|
||||
CPPFLAGS="-I$(abs_srcdir)"
|
||||
|
||||
TESTS = gst-element-maker-test.sh
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue