mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +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 = \
|
TESTS_ENVIRONMENT = \
|
||||||
SRC_DIR=$(abs_srcdir) \
|
SRC_DIR=$(abs_srcdir) \
|
||||||
TEMPLATE_FILES="$(templatefiles)"
|
TEMPLATE_FILES="$(templatefiles)" \
|
||||||
|
CPPFLAGS="-I$(abs_srcdir)"
|
||||||
|
|
||||||
TESTS = gst-element-maker-test.sh
|
TESTS = gst-element-maker-test.sh
|
||||||
|
|
||||||
|
|
|
@ -379,7 +379,7 @@ gst-indent $gstreplace.c
|
||||||
|
|
||||||
echo pkg is $pkg
|
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
|
if test $? -ne 0; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue