check arguments before compiling dependencies
This commit is contained in:
parent
ab7ee8223c
commit
54f4d2f1ab
@ -102,6 +102,14 @@ if [ "$#" -ne 1 ] ; then
|
||||
error
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
"dynamic"|"debug"|"debug_static"|"static"|"lto")
|
||||
;;
|
||||
*)
|
||||
error
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$LIBXDC_ROOT" -o -z "$CAPSTONE_ROOT" ]; then
|
||||
git submodule init
|
||||
git submodule update libxdc
|
||||
|
Loading…
x
Reference in New Issue
Block a user