summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-03-16 11:14:59 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-03-16 11:14:59 +0100
commit7e28ca59bf0afbc2b50b3d35f6fcdbd38ff69243 (patch)
tree5d4929cdc2db413a6e1567b6307506c6dacab1a5 /src
parent3b5b7d6a6c85348741c9bfc9533a01a709292067 (diff)
downloadkcmldapmanager-7e28ca59bf0afbc2b50b3d35f6fcdbd38ff69243.tar.gz
kcmldapmanager-7e28ca59bf0afbc2b50b3d35f6fcdbd38ff69243.zip
Fix krb5 library detection. This resolves FTBFS with heimdal-krb5.
Based on similar patch for libraries/libtdeldap from Slavek Banko. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 3dd58bb..e9e1805 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = $(all_includes) $(KDE_INCLUDES)/tde
+INCLUDES = $(all_includes) $(KDE_INCLUDES)/tde $(KRB5_CFLAGS)
METASOURCES = AUTO
# Install this plugin in the KDE modules directory
@@ -7,7 +7,7 @@ kde_module_LTLIBRARIES = kcm_ldapmanager.la
kcm_ldapmanager_la_SOURCES = ldapmgr.cpp ldapconfigbase.ui userconfigbase.ui groupconfigbase.ui machineconfigbase.ui serviceconfigbase.ui userconfigdlg.cpp groupconfigdlg.cpp machineconfigdlg.cpp serviceconfigdlg.cpp
kcm_ldapmanager_la_LIBADD = -ltdeio $(LIB_TDEUI) -lldap -ltdeldap
kcm_ldapmanager_la_LDFLAGS = -avoid-version -module -no-undefined \
- $(all_libraries)
+ $(all_libraries) $(KRB5_LIBS)
xdg_apps_DATA = ldapmanager.desktop