diff options
author | Arvind Sankar <[email protected]> | 2020-07-05 22:58:59 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-07-10 14:26:22 -0700 |
commit | af6591622696bcb4e46702da07923e909db99f30 (patch) | |
tree | e105a9a60b5f005d0de0e93de5c72e09cb59896a /lib/libzfs/Makefile.am | |
parent | 1537105a8cfecb227a2925a7889cd662224b7968 (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/libzfs/Makefile.am')
-rw-r--r-- | lib/libzfs/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/Makefile.am b/lib/libzfs/Makefile.am index 7e07bf1e3..5a421409c 100644 --- a/lib/libzfs/Makefile.am +++ b/lib/libzfs/Makefile.am @@ -83,7 +83,7 @@ libzfs_la_LIBADD += \ libzfs_la_LIBADD += -lm $(LIBCRYPTO_LIBS) $(ZLIB_LIBS) $(LTLIBINTL) -libzfs_la_LDFLAGS = -pthread +libzfs_la_LDFLAGS = -pthread -Wl,-z,defs if BUILD_FREEBSD libzfs_la_LIBADD += -lutil -lgeom |