maybe this could work?

```
    Linux)
        echo "`pkg-config --static --libs glfw3`";;
    Darwin)
        if which pkg-config > /dev/null ; then
            echo "`pkg-config --static --libs glfw3`"
        else
            echo "-lglfw -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo"
        fi;;
```

I tested it on my laptop which does not have pkg-config. Not on windows or linux.