element-maker: make it fail, when compilation fails
This commit is contained in:
parent
a161f901eb
commit
e32a6f9471
@ -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…
x
Reference in New Issue
Block a user