diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-04-11 17:19:11 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-04-11 17:19:11 +0200 |
commit | a8c546ce04f3bb98aa2af4bb7c69ed04b06d118b (patch) | |
tree | 81ef688a7042242dec6782440e410a4e5929e456 /redhat/libraries/libtdeldap | |
parent | d8a1512d34559be713c40bf1b60940213ccde29d (diff) | |
download | tde-packaging-a8c546ce04f3bb98aa2af4bb7c69ed04b06d118b.tar.gz tde-packaging-a8c546ce04f3bb98aa2af4bb7c69ed04b06d118b.zip |
RPM: libtdeldap: fix heimdal detection on Fedora
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/libraries/libtdeldap')
-rw-r--r-- | redhat/libraries/libtdeldap/libtdeldap.spec | 5 |
1 files changed, 5 insertions, 0 deletions
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 |