mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
element-maker: make it fail, when compilation fails
This commit is contained in:
parent
a161f901eb
commit
e32a6f9471
1 changed files with 7 additions and 1 deletions
|
@ -380,6 +380,12 @@ gst-indent $gstreplace.c
|
|||
echo pkg is $pkg
|
||||
|
||||
gcc -Wall -fPIC $(pkg-config --cflags gstreamer-0.10 $pkg) -c -o $gstreplace.o $gstreplace.c
|
||||
if test $? -ne 0; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gcc -shared -o $gstreplace.so $gstreplace.o $(pkg-config --libs gstreamer-0.10 $pkg)
|
||||
|
||||
if test $? -ne 0; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue