Skip to content

Commit eba4260

Browse files
Allow unresolved symbols in libzfs on FreeBSD
We use now use environ, which is part of the C runtime there Signed-off-by: Ahelenia Ziemiańska <[email protected]>
1 parent e401c27 commit eba4260

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/libzfs/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ libzfs_la_LIBADD += -lm $(LIBCRYPTO_LIBS) $(ZLIB_LIBS) $(LTLIBINTL)
8080
libzfs_la_LDFLAGS = -pthread
8181

8282
if !ASAN_ENABLED
83+
if !BUILD_FREEBSD
8384
libzfs_la_LDFLAGS += -Wl,-z,defs
8485
endif
86+
endif
8587

8688
if BUILD_FREEBSD
8789
libzfs_la_LIBADD += -lutil -lgeom

0 commit comments

Comments
 (0)