All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: linux-trace-devel@vger.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Subject: [PATCH 2/2] libtracefs: fix utest linking path
Date: Mon, 24 Jan 2022 11:52:52 +0100	[thread overview]
Message-ID: <20220124105252.64897-2-krzysztof.kozlowski@canonical.com> (raw)
In-Reply-To: <20220124105252.64897-1-krzysztof.kozlowski@canonical.com>

Build libraries are now in lib/.  This fixes test error:

    /usr/bin/ld: cannot find ..libtracefs/lib/tracefs/libtracefs.a: No such file or directory

Fixes: fe21539dc846 ("libtracefs: Build in the same directories as the source")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 utest/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utest/Makefile b/utest/Makefile
index d168b01a328c..74bf7e60b91d 100644
--- a/utest/Makefile
+++ b/utest/Makefile
@@ -12,7 +12,7 @@ OBJS += tracefs-utest.o
 
 LIBS += -lcunit				\
 	-ldl				\
-	$(obj)/lib/tracefs/libtracefs.a
+	$(obj)/lib/libtracefs.a
 
 OBJS := $(OBJS:%.o=$(bdir)/%.o)
 DEPS := $(OBJS:$(bdir)/%.o=$(bdir)/.%.d)
-- 
2.32.0


  reply	other threads:[~2022-01-24 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-24 10:52 [PATCH 1/2] libtracefs: clean also docs by default Krzysztof Kozlowski
2022-01-24 10:52 ` Krzysztof Kozlowski [this message]
2022-02-04  2:44   ` [PATCH 2/2] libtracefs: fix utest linking path Steven Rostedt
2022-02-04  2:41 ` [PATCH 1/2] libtracefs: clean also docs by default Steven Rostedt
2022-02-04  8:59   ` Krzysztof Kozlowski
2022-02-04 13:21     ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220124105252.64897-2-krzysztof.kozlowski@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=linux-trace-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.