GNU bug report logs -
#54444
wrong .pc file for `configure --disable-shared`
Previous Next
To reply to this bug, email your comments to 54444 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#54444
; Package
guile
.
(Fri, 18 Mar 2022 10:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Werner LEMBERG <wl <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Fri, 18 Mar 2022 10:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[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
This bug report was last modified 2 years and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.