diff --git a/Makefile b/Makefile index b8656d2..ac18361 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,12 @@ ifeq ($(WITH_LIBUV),1) override LDFLAGS += -luv endif +# WITH_ASIO=1 builds with ASIO as event-loop +ifeq ($(WITH_ASIO),1) + override CXXFLAGS += -pthread + override LDFLAGS += -lpthread +endif + # WITH_ASAN builds with sanitizers ifeq ($(WITH_ASAN),1) override CXXFLAGS += -fsanitize=address -g diff --git a/uSockets b/uSockets index 18debf8..f6b00aa 160000 --- a/uSockets +++ b/uSockets @@ -1 +1 @@ -Subproject commit 18debf82410dcc1cc083af6c36df823c603dd28d +Subproject commit f6b00aa8bf725d372b68c5f8ef9d10cac3610c21