From 95cd960b3b11554c27c7b2952b08fc43f02cb5cf Mon Sep 17 00:00:00 2001 From: yenatch Date: Mon, 12 Sep 2016 21:12:58 -0400 Subject: [PATCH] Fix the order of flags when including libpng. This apparently does matter. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a074d7e7..b9d8e66f 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ rgbfix: ${rgbfix_obj} $Q${CC} ${REALCFLAGS} -o $@ ${rgbfix_obj} rgbgfx: ${rgbgfx_obj} - $Q${CC} `${PKG_CONFIG} --libs libpng` ${REALCFLAGS} -o $@ ${rgbgfx_obj} + $Q${CC} ${REALCFLAGS} -o $@ ${rgbgfx_obj} `${PKG_CONFIG} --libs libpng` .y.c: $Q${YACC} -d ${YFLAGS} -o $@ $<