SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit ec65cfd9425f6309d44559eaa6c14cd0f9cc4841 parent 122549d3cdb9e6d364982133e4493c860510b014 Author: Lior Halphon <LIJI32@gmail.com> Date: Fri, 4 Oct 2024 15:33:19 +0300 Fix SDL build on macOS Diffstat:
| M | Makefile | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -204,6 +204,10 @@ ifeq (,$(PKG_CONFIG)) SDL_CFLAGS := $(shell sdl2-config --cflags) SDL_LDFLAGS := $(shell sdl2-config --libs) -lpthread +ifeq ($(PLATFORM),Darwin) +SDL_LDFLAGS += -framework AppKit +endif + # We cannot detect the presence of OpenAL dev headers, # so we must do this manually ifeq ($(ENABLE_OPENAL),1)
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.