mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
af65916226
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
31 lines
533 B
Makefile
31 lines
533 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
lib_LTLIBRARIES = libuutil.la
|
|
|
|
USER_C = \
|
|
uu_alloc.c \
|
|
uu_avl.c \
|
|
uu_dprintf.c \
|
|
uu_ident.c \
|
|
uu_list.c \
|
|
uu_misc.c \
|
|
uu_open.c \
|
|
uu_pname.c \
|
|
uu_string.c
|
|
|
|
libuutil_la_SOURCES = $(USER_C)
|
|
|
|
libuutil_la_LIBADD = \
|
|
$(top_builddir)/lib/libavl/libavl.la \
|
|
$(top_builddir)/lib/libspl/libspl.la
|
|
|
|
libuutil_la_LIBADD += $(LTLIBINTL)
|
|
|
|
libuutil_la_LDFLAGS = -pthread -Wl,-z,defs
|
|
|
|
if BUILD_FREEBSD
|
|
libuutil_la_LDFLAGS += -version-info 3:0:0
|
|
else
|
|
libuutil_la_LDFLAGS += -version-info 1:1:0
|
|
endif
|