From: Werner LEMBERG <wl@gnu.org>
To: 54444@debbugs.gnu.org
Subject: bug#54444: wrong .pc file for `configure --disable-shared`
Date: Fri, 18 Mar 2022 10:23:20 +0000 (UTC) [thread overview]
Message-ID: <20220318.112320.1724489575830201298.wl@gnu.org> (raw)
[guile 2.2.7]
If I configure guile with
```
configure --disable-shared
```
the created `guile-2.2.pc` is incorrect: Instead of
```
Libs: -L${libdir} -lguile-2.2 -lgc
Libs.private: -lgmp -lltdl -L/usr/lib64/../lib64 -lffi \
-lunistring -lcrypt -lm
```
it should have
```
Libs: -L${libdir} -lguile-2.2 -lgc \
-lgmp -lltdl -L/usr/lib64/../lib64 -lffi \
-lunistring -lcrypt -lm
```
IMHO the user must not be forced to know how guile was installed. Or
to say it differently: It's not the job of an application's
`configure` script to find out whether it has to pass the `--static`
keyword to `pkg-config` if it just wants to link to guile in general.
Werner
reply other threads:[~2022-03-18 10:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220318.112320.1724489575830201298.wl@gnu.org \
--to=wl@gnu.org \
--cc=54444@debbugs.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).