add rt library to link

This commit is contained in:
Vincent Sanders 2014-11-27 14:40:00 +00:00
parent 8d51dd4879
commit 18d1fce332
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ CFLAGS += -std=c99 -g -Dsmall \
-D_POSIX_C_SOURCE=200112L \
$(shell $(PKG_CONFIG) --cflags libnsfb libhubbub libcss openssl)
LDFLAGS += -lm -Wl,--whole-archive $(shell $(PKG_CONFIG) --libs libnsfb) -Wl,--no-whole-archive
LDFLAGS += -lm -lrt -Wl,--whole-archive $(shell $(PKG_CONFIG) --libs libnsfb) -Wl,--no-whole-archive
ifeq ($(HOST),mint)
# freemint does not support pkg-config for libcurl

View File

@ -45,7 +45,7 @@ CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
$(shell $(PKG_CONFIG) --cflags libdom libcurl) \
$(shell $(PKG_CONFIG) --cflags openssl)
LDFLAGS += -lm $(shell $(PKG_CONFIG) --cflags --libs glib-2.0)
LDFLAGS += -lm -lrt $(shell $(PKG_CONFIG) --cflags --libs glib-2.0)
# ---------------------------------------------------------------------------
# Windows flag setup