install a shared library version, now that we know how to do it.

This commit is contained in:
christos 2014-10-22 00:16:29 +00:00
parent 9d5ff525cf
commit 9017a279de
2 changed files with 9 additions and 1 deletions

View File

@ -26,7 +26,7 @@ ASAN_SRCS= \
asan_preinit.cc
INTERCEPTION_SRCS= \
interception_linux.cc \
interception_netbsd.cc \
interception_type_test.cc
SANITIZER_SRCS= \
@ -45,8 +45,14 @@ SANITIZER_SRCS= \
sanitizer_symbolizer_linux.cc \
sanitizer_win.cc
# The linux build does this to avoid preinit sections on shared libraries
CSHLIBFLAGS+= -DPIC
LIB= asan
SRCS= ${ASAN_SRCS} ${INTERCEPTION_SRCS} ${SANITIZER_SRCS}
CPPFLAGS+=-I${ASAN}/include -I${ASAN} -I${NETBSDSRCDIR}/lib/libexecinfo
LDADD+= -lstdc++ -lpthread
DPADD+= ${LIBSTDCXX} ${LIBPTHREAD}
.include <bsd.lib.mk>

View File

@ -0,0 +1,2 @@
major=0
minor=0