]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/rootfiles/common/libcap
libcap: Adjust the lfs file to place pkg-config files in the correct place
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 10 May 2023 20:41:10 +0000 (22:41 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 11 May 2023 20:10:00 +0000 (20:10 +0000)
commit133b2ae6bb594c969253f04eebdaa211b3adee0c
treec6b7e30bc5637cc1cfa73f6a093034ce6881c6f3
parent173f1ffca394319437bd215719242229a8298bfe
libcap: Adjust the lfs file to place pkg-config files in the correct place

- libcap places the files by default in /lib and not /usr/lib etc. To fix this libcap made
   a symlink for the library file from /lib to /usr/lib. However the .pc files were left
   in /lib/pkgconfig and not /usr/lib/pkgconfig and were therefore not found by the update
   of rng-tools which now required libcap to be found.
- Changed the prefix settings for libcap which placed the libraries and .pc files in the
   correct locations while keeping the executables in their existing location.
- This removed the need for symlinking /usr/lib/libcap.so to /lib/libcap.so.2.67 as the
   libraries are now placed in /usr/lib
- Installed the ipfire build with these changes into a vm system and confirmed that
   everything worked. Input from Michael Tremer that if ping worked then libcap was
   functioning correctly.
- The prefixes have to be applied to both make and make install to end up with the files
   in the correct places.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
config/rootfiles/common/libcap
lfs/libcap