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

Fix Race Condition on Compilation #4

Merged
merged 1 commit into from
Jun 24, 2017
Merged

Conversation

jdemaris
Copy link

@jdemaris jdemaris commented Jun 24, 2017

This change solved the issue for me. It seems like it's a race condition on the build process of the dependency that causes it to try and load the .so file before it has been symlinked into the _build folder structure.

I used the ex_ncurses NIF as a reference here: https://github.com/jfreeze/ex_ncurses/blob/master/lib/ex_ncurses.ex#L2

Targets Issue #3

@jdemaris jdemaris mentioned this pull request Jun 24, 2017
@xiamx
Copy link
Contributor

xiamx commented Jun 24, 2017

Thanks @jdemaris , great find!

@xiamx xiamx merged commit cc4efe8 into SweetIQ:master Jun 24, 2017
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