We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got your script working on freebsd with multiple parameters using this as my first line
#!/usr/bin/env -S c "-I/usr/local/include/ -g -L/usr/local/lib/mysql/ -lmysqlclient --"
might be worth mentioning in the readme
The text was updated successfully, but these errors were encountered:
Interesting... does this apply for even simple scripts? Or only for scripts that link in external libraries, e.g. mysqlclient?
#!/usr/bin/c #include <stdio.h> int main(void) { printf("hello world\n"); return 0; }
Sorry, something went wrong.
Yes even for simple scripts, on FreeBSD 11, it has to be
#!/usr/bin/env c #include <stdio.h> int main(void) { printf("hello world\n"); return 0; }
my other more complex example is required when using env with multiple arguments
@ryanmjacobs You could add a CI FreeBSD test using https://github.com/vmactions/freebsd-vm
No branches or pull requests
I got your script working on freebsd with multiple parameters using this as my first line
#!/usr/bin/env -S c "-I/usr/local/include/ -g -L/usr/local/lib/mysql/ -lmysqlclient --"
might be worth mentioning in the readme
The text was updated successfully, but these errors were encountered: