projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a161f90
)
element-maker: make it fail, when compilation fails
author
Stefan Kost
<ensonic@users.sf.net>
Tue, 26 Apr 2011 10:42:59 +0000
(13:42 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 26 Apr 2011 12:17:29 +0000
(15:17 +0300)
tools/gst-element-maker
patch
|
blob
|
history
diff --git
a/tools/gst-element-maker
b/tools/gst-element-maker
index
6db321d
..
81c5d7a
100755
(executable)
--- a/
tools/gst-element-maker
+++ b/
tools/gst-element-maker
@@
-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
-gcc -shared -o $gstreplace.so $gstreplace.o $(pkg-config --libs gstreamer-0.10 $pkg)
+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