From d701c32ce9c4aff8f73de97c47d45d9e640696a6 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 23 Sep 2014 11:50:43 +0000 Subject: - Link with -lm, as sqrt() is used; fixes build on arm --- games/moonlander/files/patch-Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games') diff --git a/games/moonlander/files/patch-Makefile b/games/moonlander/files/patch-Makefile index d0f935659ad3..87a4b29b77f5 100644 --- a/games/moonlander/files/patch-Makefile +++ b/games/moonlander/files/patch-Makefile @@ -8,7 +8,7 @@ +#CC=gcc -LIBS=SDL_image -+LIBS=`sdl-config --libs` -lSDL_image -lSDL_mixer ++LIBS=`sdl-config --libs` -lSDL_image -lSDL_mixer -lm C_FILES=moon_lander.c game_lib.c DT_drawtext.c OBJ_FILES=moon_lander.o game_lib.o DT_drawtext.o -- cgit