From: "Stefan Mühlinghaus" <"master..."@googlemail.com>
To: voidlinux <void...@googlegroups.com>
Cc: master...@googlemail.com
Subject: Re: Statically compile libraries into packages
Date: Tue, 28 Jul 2015 08:58:32 -0700 (PDT) [thread overview]
Message-ID: <3b3f6291-bced-4641-a151-243bdbc0bbfa@googlegroups.com> (raw)
In-Reply-To: <46e041ef-6c62-49c3-bb21-d8c96f3fb778@googlegroups.com>
[-- Attachment #1.1: Type: text/plain, Size: 945 bytes --]
What I'm trying to achieve is build a package for program X that depends on
library Y. Making another package for Y is not feasible because in this
particular case X needs a very specific and/or outdated version of Y. So I
want to construct the package template for X in such a way that it
downloads and builds both distfiles for X and Y and then statically links
them together so that the target system is not cluttered with library
garbage.
I'm pretty sure I can make that work by copying files around in the working
directory and patching the Makefile of X. It would be somewhat more elegant
if I could "install" the statically compiled library of Y and its
header-files to some temporary lib/include directory on the building system
which would automatically be used when compiling X and afterwards cleaned.
I of course realize that this is a somewhat esoteric use-case but I thought
I'd better ask before doing it manually :)
[-- Attachment #1.2: Type: text/html, Size: 1025 bytes --]
prev parent reply other threads:[~2015-07-28 15:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 8:28 Stefan Mühlinghaus
2015-07-28 8:37 ` Juan RP
2015-07-28 15:58 ` Stefan Mühlinghaus [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=3b3f6291-bced-4641-a151-243bdbc0bbfa@googlegroups.com \
--to="master..."@googlemail.com \
--cc="void..."@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).