From bd95f00d4b6aa185bf508f12d2cdbfbb2350b80e Mon Sep 17 00:00:00 2001 From: Petros Koutoupis Date: Sat, 9 May 2020 12:17:08 -0500 Subject: Fixed LDADD library links in Makefiles for cross compilation builds When building on native dev system, there are no issues but when cross-compiling for target system, some linker errors are observed. The only way to avoid these errors is by adjusting the Makefile.am of those various components to add the library dependencies. Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: Petros Koutoupis Closes #10304 --- cmd/zpool/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/zpool/Makefile.am') diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am index 7b25726f4..5efa13184 100644 --- a/cmd/zpool/Makefile.am +++ b/cmd/zpool/Makefile.am @@ -22,6 +22,7 @@ endif zpool_LDADD = \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libuutil/libuutil.la \ + $(top_builddir)/lib/libzfs_core/libzfs_core.la \ $(top_builddir)/lib/libzfs/libzfs.la if BUILD_FREEBSD -- cgit v1.2.3