Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | From fcece65d1b713eaeef41706898440302f8ce92d9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mingli Yu <Mingli.Yu@windriver.com> |
| 3 | Date: Thu, 12 Jul 2018 15:19:41 +0800 |
| 4 | Subject: [PATCH] Makefile.am: update the path of libnfs.a |
| 5 | |
| 6 | The libnfs.a is under ../support/nfs/.libs/ now, |
| 7 | update the reference path accordingly to fix below |
| 8 | build error when run "make -C tests statdb_dump": |
| 9 | | make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'. Stop. |
| 10 | |
| 11 | And below error when run "make -C tests/nsm_client nsm_client" |
| 12 | | make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'. Stop. |
| 13 | |
| 14 | Upstream-Status: Submitted[https://marc.info/?l=linux-nfs&m=154502636522745&w=2] |
| 15 | |
| 16 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> |
| 17 | --- |
| 18 | tests/Makefile.am | 2 +- |
| 19 | tests/nsm_client/Makefile.am | 2 +- |
| 20 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 21 | |
| 22 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
| 23 | index 1f96264..74aa629 100644 |
| 24 | --- a/tests/Makefile.am |
| 25 | +++ b/tests/Makefile.am |
| 26 | @@ -3,7 +3,7 @@ |
| 27 | check_PROGRAMS = statdb_dump |
| 28 | statdb_dump_SOURCES = statdb_dump.c |
| 29 | |
| 30 | -statdb_dump_LDADD = ../support/nfs/libnfs.a \ |
| 31 | +statdb_dump_LDADD = ../support/nfs/.libs/libnfs.a \ |
| 32 | ../support/nsm/libnsm.a $(LIBCAP) |
| 33 | |
| 34 | SUBDIRS = nsm_client |
| 35 | diff --git a/tests/nsm_client/Makefile.am b/tests/nsm_client/Makefile.am |
| 36 | index a8fc131..43db9c2 100644 |
| 37 | --- a/tests/nsm_client/Makefile.am |
| 38 | +++ b/tests/nsm_client/Makefile.am |
| 39 | @@ -13,7 +13,7 @@ check_PROGRAMS = nsm_client |
| 40 | nsm_client_SOURCES = $(GENFILES) nsm_client.c |
| 41 | |
| 42 | BUILT_SOURCES = $(GENFILES) |
| 43 | -nsm_client_LDADD = ../../support/nfs/libnfs.a \ |
| 44 | +nsm_client_LDADD = ../../support/nfs/.libs/libnfs.a \ |
| 45 | ../../support/nsm/libnsm.a $(LIBCAP) $(LIBTIRPC) |
| 46 | |
| 47 | if CONFIG_RPCGEN |
| 48 | -- |
| 49 | 2.7.4 |
| 50 | |