summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framebuffer/Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/Makefile.target b/framebuffer/Makefile.target
index 98c6427df..a7e9a5fa4 100644
--- a/framebuffer/Makefile.target
+++ b/framebuffer/Makefile.target
@@ -47,7 +47,7 @@ CFLAGS += -std=c99 -g -I. -Dsmall $(WARNFLAGS) \
$(shell $(PKG_CONFIG) --cflags libnsfb libhubbub libcss openssl) \
$(shell xml2-config --cflags)
-LDFLAGS += -Wl,--whole-archive $(shell $(PKG_CONFIG) --libs libnsfb) -Wl,--no-whole-archive
+LDFLAGS += -lm -Wl,--whole-archive $(shell $(PKG_CONFIG) --libs libnsfb) -Wl,--no-whole-archive
ifeq ($(HOST),mint)
# freemint does not support pkg-config for libcurl