modern debian no longer links the math library bt default

svn path=/trunk/netsurf/; revision=12150
This commit is contained in:
Vincent Sanders 2011-04-02 08:24:13 +00:00
parent ad12c46af5
commit a65d235a17

View File

@ -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