Merge Request to fix linkage order for certain SMB2 Tools.
Some SMB2 Tools cannot compile in static mode due to an invalid linkage order.
This PR fixes issue: project/13/13mdis/linux/13MD05-90#338 (closed)
Edited by Jose Javier Rodriguez Barbarin