<commit_before>CXX=g++

DEFS=-DNOPCH -DFOURWAYSSE2 -DUSE_SSL 

# Detect MinGW
MINGW=$(shell uname -s|grep -i mingw32)

# Link boost statically
DEFS += -DBOOST_THREAD_USE_LIB

INCLUDEPATHS= \
	-I../libs/openssl-1.0.1e/include \
	-I../libs/db-4.7.25.NC/build_unix \
	-I../libs/boost_1_50_0

LIBPATHS= \
	-L../libs/openssl-1.0.1e \
	-L../libs/db-4.7.25.NC/build_unix \
	-L../libs/boost_1_50_0/stage/lib

LIBBOOST_SUFFIX=-mgw46-mt-1_50

LIBS= \
 -Wl,-Bstatic \
   -l boost_system$(LIBBOOST_SUFFIX) \
   -l boost_filesystem$(LIBBOOST_SUFFIX) \
   -l boost_program_options$(LIBBOOST_SUFFIX) \
   -l boost_thread$(LIBBOOST_SUFFIX) \
   -l boost_chrono$(LIBBOOST_SUFFIX) \
   -l db_cxx \
   -l ssl \
   -l crypto

namecoin: USE_UPNP:=1
	ifdef USE_UPNP
		LIBS += -l miniupnpc
		DEFS += -DUSE_UPNP=$(USE_UPNP)
	endif
	ifneq "$(MINGW)" ""
		# MinGW-specific
		DEFS += -D__NO_SYSTEM_INCLUDES -D__WXMSW__
		LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
	else
		# Linux-specific
		LIBS+= \
			-Wl,-Bdynamic \
			-l gthread-2.0 \
			-l z \
			-l dl \
			-l pthread
	endif<commit_msg>Makefile fix for Linux (removing forced mingw suffix for libboost)<commit_after>CXX=g++

DEFS=-DNOPCH -DFOURWAYSSE2 -DUSE_SSL 

# Detect MinGW
MINGW=$(shell uname -s|grep -i mingw32)

# Link boost statically
DEFS += -DBOOST_THREAD_USE_LIB

INCLUDEPATHS= \
	-I../libs/openssl-1.0.1e/include \
	-I../libs/db-4.7.25.NC/build_unix \
	-I../libs/boost_1_50_0

LIBPATHS= \
	-L../libs/openssl-1.0.1e \
	-L../libs/db-4.7.25.NC/build_unix \
	-L../libs/boost_1_50_0/stage/lib

LIBBOOST_SUFFIX=

LIBS= \
 -Wl,-Bstatic \
   -l boost_system$(LIBBOOST_SUFFIX) \
   -l boost_filesystem$(LIBBOOST_SUFFIX) \
   -l boost_program_options$(LIBBOOST_SUFFIX) \
   -l boost_thread$(LIBBOOST_SUFFIX) \
   -l boost_chrono$(LIBBOOST_SUFFIX) \
   -l db_cxx \
   -l ssl \
   -l crypto

namecoin: USE_UPNP:=1
	ifdef USE_UPNP
		LIBS += -l miniupnpc
		DEFS += -DUSE_UPNP=$(USE_UPNP)
	endif
	ifneq "$(MINGW)" ""
		# MinGW-specific
		DEFS += -D__NO_SYSTEM_INCLUDES -D__WXMSW__
		LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
		LIBBOOST_SUFFIX=-mgw46-mt-1_50
	else
		# Linux-specific
		LIBS+= \
			-Wl,-Bdynamic \
			-l gthread-2.0 \
			-l z \
			-l dl \
			-l pthread
	endif
{'fraction_non_alphanumeric': 0.1536758193091231, 'fraction_numerical': 0.03720106288751107, 'mean_word_length': 2.7839195979899496, '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': '4636809', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1067, 'n_words': 169}