diff --git a/extensions/metrics/build/Makefile.in b/extensions/metrics/build/Makefile.in index 7161e59e86a3..5fd8b3441cff 100644 --- a/extensions/metrics/build/Makefile.in +++ b/extensions/metrics/build/Makefile.in @@ -76,5 +76,8 @@ LOCAL_INCLUDES = \ include $(topsrcdir)/config/rules.mk -LDFLAGS += -NODEFAULTLIB:MSVCRT +ifeq ($(OS_ARCH),WINNT) + LDFLAGS += -NODEFAULTLIB:MSVCRT +endif +