diff --git a/test/Makefile b/test/Makefile
index f278b84636206fc31d1c033a40583246ec405850..063170f251f7ad63f9b83fbc88c51fe6044948a3 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -289,9 +289,9 @@ endif
 
 $(STRESSFIT):   $(STRESSFITO)
 ifeq ($(PLATFORM),win32)
-		$(LD) $(LDFLAGS) $^ $(LIBS) ../lib/libMinuit2.lib $(OutPutOpt)$@
+		$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
 else
-		$(LD) $(LDFLAGS) $^ $(LIBS) -lMinuit2 $(OutPutOpt)$@
+		$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
 endif
 		@echo "$@ done"