From: Angelo Compagnucci <angelo@amarulasolutions.com>
To: linux-i2c@vger.kernel.org
Cc: Angelo Compagnucci <angelo@amarulasolutions.com>
Subject: [PATCH] i2c-tools: lib/Module.mk: fixing LIB_LINKS dependency
Date: Mon, 11 Dec 2017 18:00:24 +0100 [thread overview]
Message-ID: <1513011624-1555-1-git-send-email-angelo@amarulasolutions.com> (raw)
LIB_LINKS should be added as a dependency only when
BUILD_DYNAMIC_LIB is enabled
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
lib/Module.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/Module.mk b/lib/Module.mk
index 8a58f5b..de189a2 100644
--- a/lib/Module.mk
+++ b/lib/Module.mk
@@ -27,10 +27,9 @@ LIB_SHSONAME := $(LIB_SHBASENAME).$(LIB_MAINVER)
LIB_SHLIBNAME := $(LIB_SHBASENAME).$(LIB_VER)
LIB_STLIBNAME := libi2c.a
-LIB_LINKS := $(LIB_SHSONAME) $(LIB_SHBASENAME)
-
LIB_TARGETS :=
ifeq ($(BUILD_DYNAMIC_LIB),1)
+LIB_LINKS := $(LIB_SHSONAME) $(LIB_SHBASENAME)
LIB_TARGETS += $(LIB_SHLIBNAME)
endif
ifeq ($(BUILD_STATIC_LIB),1)
--
2.7.4
next reply other threads:[~2017-12-11 17:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-11 17:00 Angelo Compagnucci [this message]
2017-12-14 8:36 ` i2c-tools: lib/Module.mk: fixing LIB_LINKS dependency Jean Delvare
2017-12-14 9:43 ` Angelo Compagnucci
2017-12-14 12:42 ` Jean Delvare
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=1513011624-1555-1-git-send-email-angelo@amarulasolutions.com \
--to=angelo@amarulasolutions.com \
--cc=linux-i2c@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox