mirror of https://github.com/GNOME/gimp.git
pdb: meson-pdbgen.sh should return the return value of pdbgen.pl.
Otherwise even when the main script fails, hence generation of source files does not end up correctly, the build continues (and likely fails later).
This commit is contained in:
parent
acdf5a3776
commit
c6972eabde
|
@ -12,4 +12,8 @@ export BUILD builddir
|
|||
|
||||
cd "$top_srcdir"/pdb
|
||||
$PERL pdbgen.pl app lib
|
||||
echo "/* Generated on `date`. */" > $top_builddir/pdb/stamp-pdbgen.h
|
||||
RET=$?
|
||||
if [ $RET -eq 0 ]; then
|
||||
echo "/* Generated on `date`. */" > $top_builddir/pdb/stamp-pdbgen.h
|
||||
fi
|
||||
exit $RET
|
||||
|
|
Loading…
Reference in New Issue