Turns out this is not a reliable test of whether libmysql.a was built correctly.