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

Avoid hardcoding /usr/local in lmicdusb Makefile #32

Open
carlocab opened this issue Nov 1, 2021 · 0 comments
Open

Avoid hardcoding /usr/local in lmicdusb Makefile #32

carlocab opened this issue Nov 1, 2021 · 0 comments

Comments

@carlocab
Copy link

carlocab commented Nov 1, 2021

The lmicdiusb Makefile hardcodes /usr/local for Darwin at

LIBUSB_CFLAGS := -I/usr/local/include/libusb-1.0
LIBUSB_LIBDIR := /usr/local/lib

This isn't always where libusb can be found (e.g. if libusb were installed via MacPorts, or on an M1 Mac via Homebrew), so it would be nice if this could be made more flexible.

I can try to find the time to send a patch when I'm less busy. (A new macOS version was recently released, so it's a busy time for Homebrew at the moment.)

Related: Homebrew/homebrew-core#88207

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

No branches or pull requests

1 participant