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

configure.ac did a bashism #26

Open
patlefort opened this issue Dec 7, 2021 · 0 comments
Open

configure.ac did a bashism #26

patlefort opened this issue Dec 7, 2021 · 0 comments

Comments

@patlefort
Copy link

autotools script should be written targeting POSIX shell. If I change my default shell to say dash instead of bash, it will not work.

Solution: replace the expression ${SDL_LIBS/-lSDLmain/} with something like $(echo "$SDL_LIBS" | sed 's/-lSDLmain//').

@patlefort patlefort changed the title configure.ac did a bashisms configure.ac did a bashism Dec 7, 2021
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