summaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-07-05 22:58:59 -0400
committerBrian Behlendorf <[email protected]>2020-07-10 14:26:22 -0700
commitaf6591622696bcb4e46702da07923e909db99f30 (patch)
treee105a9a60b5f005d0de0e93de5c72e09cb59896a /lib/libzpool
parent1537105a8cfecb227a2925a7889cd662224b7968 (diff)
Add -z defs to LDFLAGS
This will make sure the installed libraries are linked with everything they require. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10538
Diffstat (limited to 'lib/libzpool')
-rw-r--r--lib/libzpool/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
index bce45acc2..6cbab8fee 100644
--- a/lib/libzpool/Makefile.am
+++ b/lib/libzpool/Makefile.am
@@ -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