diff --git a/redhat/libraries/libtdeldap/libtdeldap.spec b/redhat/libraries/libtdeldap/libtdeldap.spec index 190027607..878c2fbd0 100644 --- a/redhat/libraries/libtdeldap/libtdeldap.spec +++ b/redhat/libraries/libtdeldap/libtdeldap.spec @@ -176,6 +176,11 @@ if [ -d "/usr/include/openldap24" ]; then RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}" fi +# heimdal pkgconfig (Fedora) +if [ -d "%{_libdir}/heimdal/lib/pkgconfig" ]; then + PKG_CONFIG_PATH="%{_libdir}/heimdal/lib/pkgconfig:${PKG_CONFIG_PATH}" +fi + if ! rpm -E %%cmake|grep -q "cd build"; then %__mkdir_p build cd build