summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-27 14:40:00 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-27 14:40:00 +0000
commit18d1fce33265c5e427a028363cba10366089d2f0 (patch)
treebcf0c2509d38251a2bb999017ffebdb71e4156b4
parent8d51dd4879e5e0812fd440d7370fdeabf8bfde55 (diff)
downloadnetsurf-18d1fce33265c5e427a028363cba10366089d2f0.tar.gz
netsurf-18d1fce33265c5e427a028363cba10366089d2f0.tar.bz2
add rt library to link
-rw-r--r--framebuffer/Makefile.target2
-rw-r--r--monkey/Makefile.target2
2 files changed, 2 insertions, 2 deletions
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