diff --git a/contrib/src/main.mak b/contrib/src/main.mak index 87ab38d4579aced38e6d0a3d0c0624d983145dac..03fd1a9a53b57428c19c033c867719d1f997d44b 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -164,6 +164,11 @@ EXTRA_LDFLAGS += -m32 endif endif +ifdef HAVE_WINSTORE +EXTRA_CFLAGS += -DWINSTORECOMPAT +EXTRA_LDFLAGS += -lwinstorecompat +endif + ifneq ($(findstring clang, $(shell $(CC) --version)),) HAVE_CLANG := 1 endif