This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocamlyices2: use --without-gmp-embedded by default
After giving it some thoughts, the need for having a self-contained libyices.a (which would only need -lyices, no -lgmp needed) in ocamlyices2 is pointless as 'zarith' will still need '-lgmp' anyway. The Makefile will still put libgmp.a and libyices.a inside src/ so that the static version of gmp is used (with -L.) instead of the shared version. Rationale: disabling the partial linking fixes the build on Arch Linux, which (I re-tested on a docker image) cannot accept partial linking with -lgmp when only libgmp.so is available. Here is the failing command: ld -r *.o -lgmp -o libyices.o
- Loading branch information
Showing 2 changed files with 15 additions and 18 deletions.