diff --git a/Makefile.common b/Makefile.common index 8bdae86a15..bd82ed4b89 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1776,11 +1776,14 @@ endif ifeq ($(HAVE_ACCESSIBILITY), 1) DEFINES += -DHAVE_ACCESSIBILITY +ifeq ($(HAVE_SAPI), 1) ifneq ($(findstring Win32,$(OS)),) LIBS += -lsapi endif endif +endif + # Things that depend on network availability