From cd1cafbc57615dc6c7787352225de9837aea3262 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 21 Feb 2012 15:23:25 +0530 Subject: [PATCH] link fails without -lm sometimes --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 3974d03..daa22d5 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ LINKFLAGS += -L${PREFIX}/lib LINKFLAGS += `imlib2-config --libs` LINKFLAGS += `pkg-config --libs oggplay` -lvpx LINKFLAGS += ${LDFLAGS} +LINKFLAGS += -lm all: ${PROG}