X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Frules.def;h=1cfc607742057c9e1c7ac4060ffc4ac261bef3a6;hb=6356fdf6b5a4d7707975b6b2baa3cd075bec33dc;hp=b9db8446457aef654d0f524dcc87b84c35c4ad03;hpb=ab4b5d4fed894a8ea469252d393005eec1221d3e;p=feisty_meow.git diff --git a/scripts/clam/cpp/rules.def b/scripts/clam/cpp/rules.def index b9db8446..1cfc6077 100644 --- a/scripts/clam/cpp/rules.def +++ b/scripts/clam/cpp/rules.def @@ -92,6 +92,8 @@ ifeq "$(COMPILER)" "GNU_WINDOWS" LOAD_FLAG_PREFIX += $(shell wx-config --libs $(UNICODE_FLAG_ADD) ) endif +LOAD_FLAG_PREFIX += -lwsock32 -lmswsock -shared + ifneq "$(USE_CURL)" "" COMPILER_FLAGS += `curl-config --cflags` LOAD_FLAG_SUFFIX += `curl-config --libs` @@ -208,7 +210,7 @@ ifeq "$(COMPILER)" "VISUAL_CPP" ifneq "$(USE_CURL)" "" # # curl wants this win32 flag? -# DEFINITIONS += _WIN32 + DEFINITIONS += WIN32 LOCAL_HEADERS += $(THIRD_PARTY_DIR)/curl/include LIBRARY_SEARCH_PATH += $(THIRD_PARTY_DIR)/curl/lib # LIBS_USED += libcurl.dll.a