z3: disable ocaml when cross-compiling.
This commit is contained in:
parent
c6be82c2eb
commit
891a59f36b
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ build_options_default="ocaml"
|
||||||
shlib_provides="libz3.so"
|
shlib_provides="libz3.so"
|
||||||
subpackages="$(vopt_if ocaml z3-ocaml)"
|
subpackages="$(vopt_if ocaml z3-ocaml)"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default=
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
LDFLAGS="$CFLAGS $LDFLAGS" ./configure --prefix=/usr -g $(vopt_if ocaml --ml)
|
LDFLAGS="$CFLAGS $LDFLAGS" ./configure --prefix=/usr -g $(vopt_if ocaml --ml)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue