Add -z defs to LDFLAGS

This will make sure the installed libraries are linked with everything
they require.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10538
This commit is contained in:
Arvind Sankar
2020-07-05 22:58:59 -04:00
committed by Brian Behlendorf
parent 1537105a8c
commit af65916226
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ libzpool_la_LIBADD = \
libzpool_la_LIBADD += $(LIBCLOCK_GETTIME) $(ZLIB_LIBS) -ldl
libzpool_la_LDFLAGS = -pthread
libzpool_la_LDFLAGS = -pthread -Wl,-z,defs
if BUILD_FREEBSD
libzpool_la_LIBADD += -lgeom