From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe-core master] lvm2: add configure option --with-usrlibdir to install shared library in 64-bit systems
Date: Tue, 14 May 2013 19:08:46 +0200 [thread overview]
Message-ID: <20130514170846.GL3187@jama> (raw)
In-Reply-To: <1368524307-8274-1-git-send-email-hong-hua.yin@freescale.com>
[-- Attachment #1: Type: text/plain, Size: 1898 bytes --]
On Tue, May 14, 2013 at 05:38:27PM +0800, Olivia Yin wrote:
> According to make.tmpl.in, shared lib will be installed under $(usrlibdir)
> install_lib_shared: $(LIB_SHARED)
> $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
> $(INSTALL_DIR) $(usrlibdir)
> $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
>
> But default $(usrlibdir) is $(DESTDIR)${prefix}/lib no matter it is 32-bit or 64-bit system.
> So we need align $(usrlibdir) with $(libdir).
Wrong subject and it was already applied few days ago:
http://git.openembedded.org/meta-openembedded/commit/?id=f9f1a63e03d11028785cc4beeb19041b15f8dcb0
> Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
> ---
> meta-oe/recipes-support/lvm2/lvm2.inc | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
> index 157e11b..5de1e3f 100644
> --- a/meta-oe/recipes-support/lvm2/lvm2.inc
> +++ b/meta-oe/recipes-support/lvm2/lvm2.inc
> @@ -4,7 +4,7 @@ DEPENDS = "udev"
> LICENSE = "GPLv2 & LGPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24"
> -INC_PR = "r0"
> +INC_PR = "r1"
>
>
> S = "${WORKDIR}/LVM2.${PV}"
> @@ -37,3 +37,4 @@ TARGET_CC_ARCH += "${LDFLAGS}"
> FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev"
> FILES_${PN}-dbg += "${libdir}/device-mapper/.debug"
>
> +EXTRA_OECONF = "--with-usrlibdir=${libdir}"
> --
> 1.7.0.4
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-05-14 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 9:38 [oe-core master] lvm2: add configure option --with-usrlibdir to install shared library in 64-bit systems Olivia Yin
2013-05-14 17:08 ` Martin Jansa [this message]
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=20130514170846.GL3187@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.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