tests: look for '.lo' rather than '.o' object when using Libtool with C++
[platform/upstream/automake.git] / t / cxx-lt-demo.sh
index ef2bc78..3c931e0 100755 (executable)
@@ -53,7 +53,7 @@ TESTS = try.sh
 check-local: test-objs
 test-objs:
        test -f src/main.$(OBJEXT)
-       test -f lib/libfoo.$(OBJEXT)
+       test -f lib/libfoo.lo
 END
 
 cat > src/Makefile.am << 'END'