From ab998f903b6db8e0c8bc121d72cf1c118bbc43fe Mon Sep 17 00:00:00 2001 From: Alexander Zai Date: Thu, 13 Dec 2018 00:57:48 -0800 Subject: [PATCH] remove uneeded windows flags --- Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 31722e86c085..cc101c3d931d 100644 --- a/Makefile +++ b/Makefile @@ -132,12 +132,7 @@ ifeq ($(USE_MKLDNN), 1) LDFLAGS += -L$(MKLROOT)/lib endif CFLAGS += -I$(MKLDNNROOT)/include - # MKLDNN but to needs to be dynamically linked for windows as not all VS compilers support static linking - ifneq ($(UNAME_S), Windows) - LIB_DEP += $(MKLDNNROOT)/lib/libmkldnn.a - else - LDFLAGS += -L$(MKLDNNROOT)/lib -lmkldnn -Wl,-rpath,'$${ORIGIN}' - endif + LIB_DEP += $(MKLDNNROOT)/lib/libmkldnn.a endif # setup opencv