diff options
author | Petros Koutoupis <[email protected]> | 2020-05-09 12:17:08 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-09 10:17:08 -0700 |
commit | bd95f00d4b6aa185bf508f12d2cdbfbb2350b80e (patch) | |
tree | 91406e6f17adb10a51c178479c232719cedad692 /cmd/raidz_test | |
parent | d775c86dd4ced233ac0636607706cc5a08bcb923 (diff) |
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 <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Petros Koutoupis <[email protected]>
Closes #10304
Diffstat (limited to 'cmd/raidz_test')
-rw-r--r-- | cmd/raidz_test/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/raidz_test/Makefile.am b/cmd/raidz_test/Makefile.am index c04d101b8..0b173ed50 100644 --- a/cmd/raidz_test/Makefile.am +++ b/cmd/raidz_test/Makefile.am @@ -14,6 +14,7 @@ raidz_test_SOURCES = \ raidz_bench.c raidz_test_LDADD = \ + $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libzpool/libzpool.la raidz_test_LDADD += -lm -ldl |