Explorar el Código

SFML: linking against libm

Streetwalrus Einstein hace 10 años
padre
commit
6ad3c30811
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      platform/sfml/rules.mk

+ 1 - 1
platform/sfml/rules.mk

@@ -4,7 +4,7 @@ SRCS_C += $(wildcard $(sfml_LOCAL_PATH)/platform/*.c)
 SRCS_CPP += $(wildcard $(sfml_LOCAL_PATH)/*.cpp)
 INCLUDE += $(sfml_LOCAL_PATH)/public
 
-LDFLAGS += -lstdc++ -lsfml-window -lsfml-graphics -lsfml-system -lGL
+LDFLAGS += -lstdc++ -lsfml-window -lsfml-graphics -lsfml-system -lGL -lm
 
 CC = gcc
 CPP = g++