5f72109e5b
Commit af65916 added -Wl,-z,defs for the shared libraries. This apparently does not work in some cases with --enable-asan, so only add it for non-ASAN builds. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: João Carlos Mendes Luis <jonny@jonny.eng.br> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10557 Closes #10560