diff --git a/framebuffer/Makefile.target b/framebuffer/Makefile.target index 699c8da80..1ac183244 100644 --- a/framebuffer/Makefile.target +++ b/framebuffer/Makefile.target @@ -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 diff --git a/monkey/Makefile.target b/monkey/Makefile.target index d3c974782..532aa789e 100644 --- a/monkey/Makefile.target +++ b/monkey/Makefile.target @@ -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