OSX requires linking required libs when creating dylib (issue #161)

This commit is contained in:
Magnus Edenhill 2014-11-02 20:26:35 +01:00
parent 4c45fdfe99
commit 6b7b1dd262

View file

@ -20,6 +20,11 @@ include ../mklove/Makefile.base
# No linker script/symbol hiding for C++ library
WITH_LDS=n
# OSX requires linking required libraries
ifeq ($(_UNAME_S),Darwin)
LIBS += -L../src -lrdkafka
endif
LIBS += -lstdc++
CHECK_FILES+= $(LIBFILENAME) $(LIBNAME).a