Browse files

Fix tests on cygwin

Thanks to KindOne for reporting it
  • Loading branch information...
1 parent bb9905e commit 91c07d5af1b345f9fc2dd719f3f69ef8874ae059 @DarthGandalf DarthGandalf committed Oct 14, 2013
Showing with 4 additions and 8 deletions.
  1. +4 −8 Makefile.in
View
12 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)

0 comments on commit 91c07d5

Please sign in to comment.