Fix accidental inclusion of shared libpng for AquariaPSPBuilder. psp
authorachurch
Sat, 22 Jan 2011 08:46:43 +0900
branchpsp
changeset 647 11728bf2bacc
parent 646 ea845f99c211
child 654 e9e13ea86644
Fix accidental inclusion of shared libpng for AquariaPSPBuilder. This patch removes references to libpng from the GTK+ library set used when building the AquariaPSPBuilder tool, so the version specified on the link command line (which is the static version when building with GENERIC=1) is used instead.
PSP/tools/Makefile
--- a/PSP/tools/Makefile	Wed Jan 19 23:39:05 2011 +0900
+++ b/PSP/tools/Makefile	Sat Jan 22 08:46:43 2011 +0900
@@ -45,7 +45,7 @@
 endif
 CFLAGS_gtk  = $(shell pkg-config --cflags gtk+-$(GTKSYS)-2.0)
 LDFLAGS_gtk =
-LIBS_gtk    = $(shell pkg-config --libs gtk+-$(GTKSYS)-2.0)
+LIBS_gtk    = $(filter-out -lpng%,$(shell pkg-config --libs gtk+-$(GTKSYS)-2.0))
 
 CFLAGS_png  =
 LDFLAGS_png =