From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Matthew McClintock <msm-oss@mcclintock.net>,
Ravi chandra reddy <vlsireddy@gmail.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Recipe [patch] modification to generate a static library instead of shared library
Date: Wed, 05 Apr 2017 16:48:53 +0100 [thread overview]
Message-ID: <1491407333.17200.22.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAEsOVNencj+9iW4xnqAUTzJAZ1_W=o8-N2-S6x0fr2pB-YJd9g@mail.gmail.com>
On Wed, 2017-04-05 at 10:33 -0500, Matthew McClintock wrote:
> On Wed, Apr 5, 2017 at 10:18 AM, Ravi chandra reddy <vlsireddy@gmail.
> com> wrote:
> >
> > Hi All,
> > I am using meta-oe to generate libxml2 library using
> > AARCH64
> > compiler. However it generates shared object [.so] library.
> >
> > is there any setting in recipe to modify this, to generate static
> > library
> > [instead of shared library]
> >
> > if so, please point me to the recipe/file to change.
> >
> > if not, i will try to add it as patch, plz point me to appropriate
> > files to
> > change
> Is the ${PN}-staticdev package getting generated for you?
Its possible you have conf/distro/include/no-static-libs.inc included
in your build (bitbake -e would tell you).
If so, you could remove that include or set:
DISABLE_STATIC = ""
as it would currently be set to this if that include file is included:
DISABLE_STATIC = " --disable-static"
We tend not to build static libraries as they're a waste of space/time
on the most part.
Cheers,
Richard
next prev parent reply other threads:[~2017-04-05 16:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGQ4JX3rYtONiVv_eOhj-MK=2FA7=h3xCA_iytd=fpTF00rT6A@mail.gmail.com>
2017-04-05 15:18 ` Recipe [patch] modification to generate a static library instead of shared library Ravi chandra reddy
2017-04-05 15:33 ` Matthew McClintock
2017-04-05 15:48 ` Richard Purdie [this message]
2017-04-05 18:04 ` Ravi chandra reddy
2017-04-05 18:09 ` Ravi chandra reddy
2017-04-05 18:26 ` Matthew McClintock
2017-04-05 18:37 ` Ravi chandra reddy
2017-04-06 14:20 ` Ravi chandra reddy
2017-04-06 19:17 ` Matthew McClintock
2017-04-06 20:11 ` Ravi chandra reddy
2017-04-06 22:31 ` Andrea Galbusera
2017-04-09 1:55 ` Ravi chandra reddy
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=1491407333.17200.22.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=msm-oss@mcclintock.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=vlsireddy@gmail.com \
/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.