mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
bd95f00d4b
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 <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Petros Koutoupis <petros@petroskoutoupis.com> Closes #10304
19 lines
553 B
Makefile
19 lines
553 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
#
|
|
# Ignore the prefix for the mount helper. It must be installed in /sbin/
|
|
# because this path is hardcoded in the mount(8) for security reasons.
|
|
# However, if needed, the configure option --with-mounthelperdir= can be used
|
|
# to override the default install location.
|
|
#
|
|
sbindir=$(mounthelperdir)
|
|
sbin_PROGRAMS = mount.zfs
|
|
|
|
mount_zfs_SOURCES = \
|
|
mount_zfs.c
|
|
|
|
mount_zfs_LDADD = \
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
|
$(top_builddir)/lib/libzfs/libzfs.la
|