All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] lockdev: Fix TARGET_DIR link
Date: Sun, 29 Dec 2013 18:43:05 +0100	[thread overview]
Message-ID: <20131229174305.GI3567@free.fr> (raw)
In-Reply-To: <BLU0-SMTP1038BCF760A4FE2F4B22DA2D9CF0@phx.gbl>

Bernd, All,

On 2013-12-29 18:31 +0100, Bernd Kuhls spake thusly:
> Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>

> ---
>  package/lockdev/lockdev.mk |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/lockdev/lockdev.mk b/package/lockdev/lockdev.mk
> index 004b637..0c10341 100644
> --- a/package/lockdev/lockdev.mk
> +++ b/package/lockdev/lockdev.mk
> @@ -34,7 +34,7 @@ endef
>  
>  define LOCKDEV_INSTALL_TARGET_CMDS
>  	$(MAKE1) basedir=$(TARGET_DIR)/usr -C $(@D) install_run
> -	ln -sf liblockdev.$(LOCKDEV_VERSION).so $(STAGING_DIR)/usr/lib/liblockdev.so.1
> +	ln -sf liblockdev.$(LOCKDEV_VERSION).so $(TARGET_DIR)/usr/lib/liblockdev.so.1

The .so symlink is not required at runtime, so we do not even have to
install it in the first place. All we need is a library which filename
is the same as its SONAME.

So, if the SONAME is liblockdev.so.1, just rename the library to .so.1.
If the SONAME is liblockdev.so, just rename the library to .so. If the
library is already installed with the correct filename, no need to
rename it.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2013-12-29 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29 17:31 [Buildroot] [PATCH 1/1] lockdev: Fix TARGET_DIR link Bernd Kuhls
2013-12-29 17:43 ` Yann E. MORIN [this message]
2013-12-29 17:57   ` Thomas Petazzoni

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=20131229174305.GI3567@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.