mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
committed by
Brian Behlendorf
parent
1537105a8c
commit
af65916226
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user