diff options
author | Brian Behlendorf <[email protected]> | 2018-12-11 16:01:41 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2018-12-11 16:01:41 -0800 |
commit | 4b702901637ee0be1f654af38c86d0a68593f921 (patch) | |
tree | dc8e39ec1bd01b6630e0e822b1a6077b346773f2 /tests/zfs-tests | |
parent | a48cd034c8df96ab751179b0c15bf84c6e178967 (diff) |
Check for strlcat and strlcpy
This partially reverts commit 8005ca4 by moving the strlcat()
and strlcpy() compatibility implementations back to their original
location.
In addition, these two functions were added to the AC_CHECK_FUNCS
macro. When these functions are available from the C library,
HAVE_STRLCAT and HAVE_STRLCPY will be defined and library version
used. Otherwise the compatibility version is built.
Reviewed-by: Sebastian Gottschall <[email protected]>
Reviewed-by: Alek Pinchuk <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8157
Closes #8202
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r-- | tests/zfs-tests/cmd/libzfs_input_check/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/cmd/libzfs_input_check/Makefile.am b/tests/zfs-tests/cmd/libzfs_input_check/Makefile.am index 0152d526e..b62a6bb0f 100644 --- a/tests/zfs-tests/cmd/libzfs_input_check/Makefile.am +++ b/tests/zfs-tests/cmd/libzfs_input_check/Makefile.am @@ -10,5 +10,6 @@ pkgexec_PROGRAMS = libzfs_input_check libzfs_input_check_SOURCES = libzfs_input_check.c libzfs_input_check_LDADD = \ + $(top_builddir)/lib/libspl/libspl.la \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libzfs_core/libzfs_core.la |