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: Link libportmidi correctly on Darwin #42

Closed
wants to merge 3 commits into from

Conversation

mzacho
Copy link

@mzacho mzacho commented Mar 20, 2022

  • Add portmidi.h and porttime.h to /lib as mentioned in the issue: Distribute portmidi and porttime headers as a part of the repo #3

  • Fixes failing builds on Darwin due to hardcoded path to libportmidi.dylib, only compatible with the Linux filesystem. The fix consists of using #cgo darwin LDFLAGS and #cgo linux LDFLAGS to reference the library.

@mzacho
Copy link
Author

mzacho commented Mar 20, 2022

@rakyll 🙏

@mzacho
Copy link
Author

mzacho commented Sep 13, 2022

I don't have write access to the repo so I can't merge - @jmacd

@mzacho mzacho closed this Nov 12, 2024
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