This bug was initially created as a copy of Bug #2018492 Description of problem: On 64-bit Fedora, pkgconfig returns bad library flags for libsepol that eventually causes compiler errors when called from build systems in projects where libsepol is a dependency. Version-Release number of selected component (if applicable): 3.2-1 How reproducible: Very. Steps to Reproduce: 1. Install pkg-config. 2. Install libsepol-devel-3.2-1.fc34. 3. Run `pkg-config --libs libsepol`. Actual results: `-L/usr/lib -lsepol` Expected results: `-lsepol` Additional info: Should not be a change in upstream as the Makefile specifies an overridable default LIBDIR. For fix, see https://src.fedoraproject.org/rpms/libsepol/pull-request/22
https://gitlab.com/redhat/centos-stream/rpms/libsepol/-/merge_requests/5
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: libsepol), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:3924