IIRC it's supposed to be `libraries`, not `ldflags`. But I don't know what the difference would be in this case...