FS#64881 - libelfin package has incorrect pkg-config .pc
Attached to Project:
Community Packages
Opened by Basile Clement (Elarnon) - Wednesday, 18 December 2019, 13:52 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 19 December 2019, 00:24 GMT
Opened by Basile Clement (Elarnon) - Wednesday, 18 December 2019, 13:52 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 19 December 2019, 00:24 GMT
|
Details
The libelf++.pc and libdwarf++.pc distributed with libelfin
(0.3-1) refer to paths relative to the pkgdir, e.g.
`/build/libelfin/pkg/libelfin/usr/lib`.
Instead, the pkg-config files should provide the installed paths of the libraries on the user's machine. Attached is a patch to the PKGBUILD that fixes the values of `libdir` and `includedir` during packaging. |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Thursday, 19 December 2019, 00:24 GMT
Reason for closing: Fixed
Additional comments about closing: libelfin-0.3-2
Thursday, 19 December 2019, 00:24 GMT
Reason for closing: Fixed
Additional comments about closing: libelfin-0.3-2
VER=$pkgver PREFIX=/usr DESTDIR="$pkgdir" make install
in the PKGBUILD. I implemented this in https://github.com/aclements/libelfin/pull/42
I just pushed libelfin-0.3-2 to [community]. Please check that it works as expected.
# pkgconf --keep-system-cflags --keep-system-libs --cflags --libs libdwarf++ libelf++
-I/usr/include -L/usr/lib -ldwarf++ -lelf++