link fails without -lm sometimes

This commit is contained in:
j 2012-02-21 15:23:25 +05:30
parent 5614af1536
commit cd1cafbc57

View file

@ -18,6 +18,7 @@ LINKFLAGS += -L${PREFIX}/lib
LINKFLAGS += `imlib2-config --libs` LINKFLAGS += `imlib2-config --libs`
LINKFLAGS += `pkg-config --libs oggplay` -lvpx LINKFLAGS += `pkg-config --libs oggplay` -lvpx
LINKFLAGS += ${LDFLAGS} LINKFLAGS += ${LDFLAGS}
LINKFLAGS += -lm
all: ${PROG} all: ${PROG}