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

wrap link options passed to ocamlmklib with -ldopt (not -cclib) #454

Merged
merged 1 commit into from
Oct 3, 2016

Conversation

fdopen
Copy link
Contributor

@fdopen fdopen commented Oct 3, 2016

the output of pkg-config --libs libffi can contain flags that are not understood by ocamlmklib (like -pthread).
The previous solution ( #428 ) passed the wrong flag to ocamlmklib (-cclib instead of -ldopt), which caused #442 . (-cclib options are ignored, because ocamlmklib neither calls ocamlc nor ocamlopt at this point, just gcc/ar)

the output of `pkg-config --libs libffi` can contain flags that are
not understood by ocamlmklib.
@yallop
Copy link
Owner

yallop commented Oct 3, 2016

Thank you!

@yallop yallop merged commit 8efca0c into yallop:master Oct 3, 2016
@fdopen fdopen deleted the openbsd branch April 14, 2018 12:10
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