SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 3ea8dd5908066738ea3406e9b835d95b8292fdc1 parent ddd9c9a4387ad35611b1afd6efbdba9a02a36725 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 28 Feb 2026 00:58:40 +0200 Fix CFLAGS/LDFLAGS for libpng Diffstat:
| M | Makefile | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -284,8 +284,8 @@ else GL_CFLAGS := $(shell $(PKG_CONFIG) --cflags gl) GL_LDFLAGS := $(shell $(PKG_CONFIG) --libs gl || echo -lGL) ifeq ($(NEED_LIBPNG),1) -SDL_LDFLAGS += $(shell $(PKG_CONFIG) --cflags libpng) -SDL_CFLAGS += $(shell $(PKG_CONFIG) --libs libpng || echo -lpng) +SDL_LDFLAGS += $(shell $(PKG_CONFIG) --libs libpng || echo -lpng) +SDL_CFLAGS += $(shell $(PKG_CONFIG) --cflags libpng) endif endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.