<commit_before>PKGNAME=	librdkafka
LIBNAME=	librdkafka++
LIBVER=		1

CXXSRCS=	RdKafka.cpp ConfImpl.cpp HandleImpl.cpp \
		ConsumerImpl.cpp ProducerImpl.cpp \
		TopicImpl.cpp MessageImpl.cpp

HDRS=		rdkafkacpp.h

OBJS=		$(CXXSRCS:%.cpp=%.o)



all: lib check


LIBS = -L../src -lrdkafka
include ../mklove/Makefile.base

# No linker script/symbol hiding for C++ library
WITH_LDS=n

LIBS += -lstdc++

CHECK_FILES+= $(LIBFILENAME) $(LIBNAME).a

check: file-check

install: lib-install

clean: lib-clean<commit_msg>Dont link C++ library with C library - avoids symbol leakage<commit_after>PKGNAME=	librdkafka
LIBNAME=	librdkafka++
LIBVER=		1

CXXSRCS=	RdKafka.cpp ConfImpl.cpp HandleImpl.cpp \
		ConsumerImpl.cpp ProducerImpl.cpp \
		TopicImpl.cpp MessageImpl.cpp

HDRS=		rdkafkacpp.h

OBJS=		$(CXXSRCS:%.cpp=%.o)



all: lib check


include ../mklove/Makefile.base

# No linker script/symbol hiding for C++ library
WITH_LDS=n

LIBS += -lstdc++

CHECK_FILES+= $(LIBFILENAME) $(LIBNAME).a

check: file-check

install: lib-install

clean: lib-clean
{'fraction_non_alphanumeric': 0.12584053794428435, 'fraction_numerical': 0.0019212295869356388, 'mean_word_length': 4.236180904522613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6369941', 'n_tokens_mistral': 444, 'n_tokens_neox': 419, 'n_words': 95}