summaryrefslogtreecommitdiffstats
path: root/redhat/libraries
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-04-11 17:19:11 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-04-11 17:19:11 +0200
commita8c546ce04f3bb98aa2af4bb7c69ed04b06d118b (patch)
tree81ef688a7042242dec6782440e410a4e5929e456 /redhat/libraries
parentd8a1512d34559be713c40bf1b60940213ccde29d (diff)
downloadtde-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')
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap.spec5
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