Created
February 8, 2013 05:05
-
-
Save olsonjeffery/4736719 to your computer and use it in GitHub Desktop.
platform.mk patch for fbsd libuv link flag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mk/platform.mk b/mk/platform.mk | |
index e45b299..0488f2f 100644 | |
--- a/mk/platform.mk | |
+++ b/mk/platform.mk | |
@@ -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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment