diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2022-09-13 11:56:43 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2022-09-13 13:34:49 -0400 |
commit | 627c95b2b853161b359095e7fdf05d3b07d51379 (patch) | |
tree | 40f92879060bdfd3c0eb5e48141dde3bdd51d1a8 /utils | |
parent | 167f2336b06e1bcbf26f45f2ddc4a535fed4d393 (diff) | |
download | nfs-utils-627c95b2b853161b359095e7fdf05d3b07d51379.tar.gz |
nfsrahead: fix order on static linking
-lmount must preceed -lblkid and to obtain this let's add in configure.ac:
PKG_CHECK_MODULES([LIBMOUNT], [mount])
and in tools/nfsrahead/Makefile.am let's substitute explicit `-lmount`
with:
$(LIBMOUNT_LIBS)
This way all the required libraries will be present and in the right order
when static linking.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions