From bbcc0c963c4f2255c24ee9bf84c182f19b32b3a1 Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Mon, 10 Mar 2014 16:14:42 -0700 Subject: [PATCH] build: freebsd link with libelf if dtrace enabled --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 3aa40c61..7515e66a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -269,6 +269,9 @@ endif if HAVE_DTRACE BUILT_SOURCES = include/uv-dtrace.h CLEANFILES += include/uv-dtrace.h +if FREEBSD +libuv_la_LDFLAGS += -lelf +endif endif if DTRACE_NEEDS_OBJECTS