We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd9c9a commit 3ea8dd5Copy full SHA for 3ea8dd5
Makefile
@@ -284,8 +284,8 @@ else
284
GL_CFLAGS := $(shell $(PKG_CONFIG) --cflags gl)
285
GL_LDFLAGS := $(shell $(PKG_CONFIG) --libs gl || echo -lGL)
286
ifeq ($(NEED_LIBPNG),1)
287
-SDL_LDFLAGS += $(shell $(PKG_CONFIG) --cflags libpng)
288
-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)
289
endif
290
291
0 commit comments