mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
add rt library to link
This commit is contained in:
parent
8d51dd4879
commit
18d1fce332
@ -48,7 +48,7 @@ CFLAGS += -std=c99 -g -Dsmall \
|
|||||||
-D_POSIX_C_SOURCE=200112L \
|
-D_POSIX_C_SOURCE=200112L \
|
||||||
$(shell $(PKG_CONFIG) --cflags libnsfb libhubbub libcss openssl)
|
$(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)
|
ifeq ($(HOST),mint)
|
||||||
# freemint does not support pkg-config for libcurl
|
# freemint does not support pkg-config for libcurl
|
||||||
|
@ -45,7 +45,7 @@ CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
|
|||||||
$(shell $(PKG_CONFIG) --cflags libdom libcurl) \
|
$(shell $(PKG_CONFIG) --cflags libdom libcurl) \
|
||||||
$(shell $(PKG_CONFIG) --cflags openssl)
|
$(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
|
# Windows flag setup
|
||||||
|
Loading…
Reference in New Issue
Block a user