- Link with -lm, as sqrt() is used; fixes build on arm
This commit is contained in:
parent
2ef7b93817
commit
816b3437a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369047
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue