unofficial mirror of 
 help / color / mirror / Atom feed
* bug#54444: wrong .pc file for `configure --disable-shared`
@ 2022-03-18 10:23 Werner LEMBERG
  0 siblings, 0 replies; only message in thread
From: Werner LEMBERG @ 2022-03-18 10:23 UTC (permalink / raw)
  To: 54444

[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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-18 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 10:23 bug#54444: wrong .pc file for `configure --disable-shared` Werner LEMBERG

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).