[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54444: wrong .pc file for `configure --disable-shared`
From: |
Werner LEMBERG |
Subject: |
bug#54444: wrong .pc file for `configure --disable-shared` |
Date: |
Fri, 18 Mar 2022 10:23:20 +0000 (UTC) |
[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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#54444: wrong .pc file for `configure --disable-shared`,
Werner LEMBERG <=