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

Makefile possibly can't build for OSX. #93

Open
Wyatt-Stanke opened this issue Jan 3, 2023 · 0 comments
Open

Makefile possibly can't build for OSX. #93

Wyatt-Stanke opened this issue Jan 3, 2023 · 0 comments

Comments

@Wyatt-Stanke
Copy link

In this snippet, uname -a is searched for "win", then "Darwin" to determine what OS to go for. But, "win" is contained in Dar"win", so it will always result in building for windows.

else ifneq ($(findstring win,$(shell uname -a)),)
platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
platform = osx
endif

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