Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed linkopts -lstdc++ for ocaml bindings #2639

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Fixed linkopts -lstdc++ for ocaml bindings #2639

merged 1 commit into from
Oct 17, 2019

Conversation

philzook58
Copy link
Contributor

Edited META.in to include -lstd++ linking flag as per this stack overflow answer:

https://stackoverflow.com/questions/56839246/installing-ocaml-api-for-z3-using-opam/58398704

This may help #2558 #2355 both of which are in reference to c++ linking problems. I have experienced C++ linking issues on the latest version of z3 and this seemed to help.

There is some mention in mk_util.py that I do not completely understand and may want to be reviewed before accepting this pull request.

# remove /GL and -std=c++11; the ocaml tools don't like them.

Note that dune users have to explicitly link libc++ as apparently the META file is partially ignored as per the stack overflow above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants