diff --git a/Working-on-macOS.md b/Working-on-macOS.md index 87a28e9..e0565b7 100644 --- a/Working-on-macOS.md +++ b/Working-on-macOS.md @@ -35,7 +35,10 @@ eval cc yourgame.c $(pkg-config --libs --cflags raylib) -o YourGame eval cc yourgame.c -framework IOKit -framework Cocoa -framework OpenGL $(pkg-config --libs --cflags raylib) -o YourGame ``` -You may get an error, complaining that the `pkg-config` command was not found. You can use `brew install pkgconfig` to fix that. +You may get an error, complaining that the `pkg-config` command was not found. You can use `brew install pkgconfig` to fix that. If you install pkgconfig after you have installed raylib with homebrew, you should reinstall raylib so that pkgconfig works correctly. Use in the terminal +``` +brew reinstall raylib +``` > **NOTE**: The raylib Homebrew package tracks the latest [raylib release](https://github.com/raysan5/raylib/releases) and as such can be out of date with what's in master. For active development, we suggest building the newest development snapshot instead. ##### Build newest development snapshot from source