summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2018-12-11 12:51:37 -0500
committerSteve Dickson <steved@redhat.com>2018-12-11 12:51:37 -0500
commit47aa0c9683e048eb325dc9779a5aff41250c2c68 (patch)
tree4af23e98501b6121e3f8065dfd3e52b54427c9c9
parent5e131279ba73fd9a58bfd35638f1136cf5a0cbfd (diff)
downloadnfs-utils-47aa0c9683e048eb325dc9779a5aff41250c2c68.tar.gz
nfsref: switch the way libraries are linked.
Link the static libs before the dynamic libs allowing the routines in the static libs to be defined by the dynamic libs Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/nfsref/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/nfsref/Makefile.am b/utils/nfsref/Makefile.am
index 44edc83..2409dd0 100644
--- a/utils/nfsref/Makefile.am
+++ b/utils/nfsref/Makefile.am
@@ -27,9 +27,9 @@ noinst_HEADERS = nfsref.h
sbin_PROGRAMS = nfsref
nfsref_SOURCES = add.c lookup.c nfsref.c remove.c
-LDADD = $(LIBXML2) $(LIBCAP) \
- ../../support/nfs/libnfs.la \
- ../../support/junction/libjunction.la
+LDADD = ../../support/nfs/libnfs.la \
+ ../../support/junction/libjunction.la \
+ $(LIBXML2) $(LIBCAP)
man8_MANS = nfsref.man