Avoid an issue in case ldFlags is empty + give a good example