Correct the setting of linkdefs.

Authored by shaheed on Nov 7 2017, 11:19 AM.