From 91c07d5af1b345f9fc2dd719f3f69ef8874ae059 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 14 Oct 2013 20:27:27 +0400 Subject: [PATCH] Fix tests on cygwin Thanks to KindOne for reporting it --- Makefile.in | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile.in b/Makefile.in index 64550936..f0db3371 100644 --- a/Makefile.in +++ b/Makefile.in @@ -76,24 +76,20 @@ znc: $(OBJS) $(E) Linking znc... $(Q)$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -unittest: $(LIB_OBJS) test/gtest-all.o test/gtest-main.o $(TESTS) - $(E) Linking unit test... - $(Q)$(CXX) $(LDFLAGS) -o $@ $(LIB_OBJS) test/gtest-all.o test/gtest-main.o $(TESTS) $(LIBS) - else znc: $(BIN_OBJS) $(LIBZNC) $(E) Linking znc... $(Q)$(CXX) $(LDFLAGS) -o $@ $(BIN_OBJS) -L. -lznc -Wl,-rpath,$(LIBZNCDIR) $(LIBS) -unittest: $(LIBZNC) test/gtest-all.o test/gtest-main.o $(TESTS) - $(E) Linking unit test... - $(Q)$(CXX) $(LDFLAGS) -o $@ $(BIN_OBJS) test/gtest-all.o test/gtest-main.o $(TESTS) -L. -lznc -Wl,-rpath,$(LIBZNCDIR) $(LIBS) - $(LIBZNC): $(LIB_OBJS) $(E) Linking $(LIBZNC)... $(Q)$(CXX) $(LDFLAGS) -shared -o $@ $(LIB_OBJS) $(LIBS) endif +unittest: $(LIB_OBJS) test/gtest-all.o test/gtest-main.o $(TESTS) + $(E) Linking unit test... + $(Q)$(CXX) $(LDFLAGS) -o $@ $(LIB_OBJS) test/gtest-all.o test/gtest-main.o $(TESTS) $(LIBS) + man: @$(MAKE) -C man $(C)