Yes, I've read that issue, it describes the problem but not why this solution works -- the problem is that "leveldb" invoked a rule called "leveldb" and does not include the actual directory? And adding /* works around this?
@theuni you're the automake wizard, do you know what's going on here?