summaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
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