citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit b165df89181d9a58ab76f7a11953d013e5cdb8d1
parent ccd0a8bb932bbe8569e9a28813202e9e29635841
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Thu, 17 Mar 2016 19:42:22 -0600

lib: add osx ldflags for extern symbol

Diffstat:
Mlib/Makefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile @@ -5,6 +5,9 @@ SHLIB_MAJOR = 0 SHLIB_MINOR = 0 CFLAGS += -pthread + +# OS X linker will not do runtime symbol lookup by default +LDFLAGS += -Wl,-U,_node0 LDADD += -pthread # OS X bsdmake squabbles over this