From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Handling build time only dependencies
Date: Fri, 22 Sep 2017 15:24:08 +0200 [thread overview]
Message-ID: <20170922132407.qksxkmfe55ewq5up@falbala.home.lespocky.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1170 bytes --]
Hello,
I'm a little stuck with a problem I consider a maybe common one. I
have an ordinary C library. For some projects I compile and link
against it the usual way, so in my applications .in rule I just do
'SELECT LIBFOO' and the library package will be copied to the target
including .so file, loading at runtime etc.
Now for another BSP I have another application where I only need to
include some header files of this library, but do not call any API
functions and do not link against it. So I only need the library at
build time, no library package has to be copied to the target later
and the library doesn't need to be loaded at runtime.
Can I express this somehow in ptxdist and how?
(This is just to save space on the target, I know I could let copy the
lib to the target, where it won't be loaded then, which is the way
it's done currently.)
Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 ***
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2017-09-22 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 13:24 Alexander Dahl [this message]
2017-09-22 14:06 ` Michael Olbrich
2017-09-22 15:21 ` Alexander Dahl
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=20170922132407.qksxkmfe55ewq5up@falbala.home.lespocky.de \
--to=post@lespocky.de \
--cc=ptxdist@pengutronix.de \
/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