build: add link flag for freebsd libuv build

This commit is contained in:
Jeff Olson 2013-02-07 21:08:26 -08:00 committed by Kerra Olson
parent 1cbbb58d87
commit a3516ae834
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,7 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),)
CFG_GCCISH_CFLAGS_x86_64 += -m64
CFG_GCCISH_LINK_FLAGS_x86_64 += -m64
CFG_UNIXY := 1
CFG_FBSD := 1
CFG_LDENV := LD_LIBRARY_PATH
CFG_DEF_SUFFIX := .bsd.def
CFG_INSTALL_NAME =
@ -147,6 +148,9 @@ ifdef CFG_UNIXY
CFG_RUN_TARG=$(call CFG_RUN,,$(2))
CFG_RUN_TEST=$(call CFG_RUN,,$(CFG_VALGRIND) $(1))
CFG_LIBUV_LINK_FLAGS=-lpthread
ifdef CFG_FBSD
CFG_LIBUV_LINK_FLAGS=-lpthread -lkvm
endif
ifdef CFG_ENABLE_MINGW_CROSS
CFG_WINDOWSY := 1