net test_support uses Mac Security functions so link against those uses for instance SecKeychainCreate
which is a platform function. If that usage survives all the way
to the linker and nobody else links against Security.framework,
there will be a linker error.

This patch adds a lib dependency so that the function will always
be found. Normally this works anyway because usage of
for instance SecKeychainCrete will be removed before the linking
step thanks to dead object file removal.

Change-Id: I80bb38a2d2d79a7df525ab8c8ab90fcfeb12761f
Reviewed-by: David Benjamin <>
Commit-Queue: Daniel Bratell <>
Cr-Commit-Position: refs/heads/master@{#597982}
1 file changed