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