From 23042f3122f102e9d75ee7e829b5bd3d2fb7724a Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Wed, 13 Apr 2011 03:36:47 +0200 Subject: [PATCH] Cleaned up link flags. Use the flags found by "configure" and nothing more. The hardcoded "-lpng12" broke linking with libpng 1.4. --- src/Makefile.am | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index f2dbbfc..ce31093 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -31,8 +31,4 @@ AM_CXXFLAGS = @CXXFLAGS@ @SDL_CFLAGS@ -DTARGET_GP2X \ -fno-exceptions \ -Wall -Wextra -Wundef -Wunused-macros -gmenu2x_LDADD = @LIBS@ @SDL_LIBS@ -lSDL_image -lSDL_gfx -lSDL -ljpeg -lpng12 -lz -ldl -lpthread - -gmenu2x_LDFLAGS = -lSDL_image -lSDL_gfx -lSDL -ljpeg -lpng12 -lz -ldl -lpthread - -gmenu2x_LIBS = @LIBS@ @SDL_LIBS@ -lSDL_image -lSDL_gfx -lSDL -ljpeg -lpng12 -lz -ldl -lpthread +gmenu2x_LDADD = @LIBS@ @SDL_LIBS@