Skip to content
Snippets Groups Projects
Commit 5c4f1ca2 authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

gen-stublib.sh: abort build if we can't extract proxied DSO symbols

parent 22eb678b
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -38,10 +38,18 @@ exec >$proxy_src;
cat $top/capsule-shim.h;
for pt in $proxied_dso $(cat $proxy_extra);
do
$top/print-libstubs $pt;
done > $symbol_file;
if (for pt in $proxied_dso $(cat $proxy_extra);
do
$top/print-libstubs $pt || exit 1;
done) > $symbol_file.tmp;
then
mv $symbol_file.tmp $symbol_file;
else
code=$?;
rm $symbol_file.tmp
exit $code;
fi
while read symbol version dependency;
do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment