sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Bor Kraljič (385dcf50d01b0a2a8a2453c92f972505b78e9694)
- From: Bor Kraljič <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Bor Kraljič (385dcf50d01b0a2a8a2453c92f972505b78e9694)
- Date: Thu, 18 Aug 2011 07:47:56 -0500
GIT changes to master grimoire by Bor Kraljič <pyrobor AT ver.si>:
collab/openldap/BUILD | 6 +++++-
collab/openldap/HISTORY | 3 +++
2 files changed, 8 insertions(+), 1 deletion(-)
New commits:
commit 385dcf50d01b0a2a8a2453c92f972505b78e9694
Author: Bor Kraljič <pyrobor AT ver.si>
Commit: Bor Kraljič <pyrobor AT ver.si>
openldap: add -ldb to LDFLAGS if db support is enabled (fixes #50)
diff --git a/collab/openldap/BUILD b/collab/openldap/BUILD
index b08926f..c34f4ae 100755
--- a/collab/openldap/BUILD
+++ b/collab/openldap/BUILD
@@ -1,6 +1,10 @@
#Fails to build without extra CPPFLAG
# See http://www.openldap.org/lists/openldap-bugs/200804/msg00074.html
-CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
+CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" &&
+
+if [[ "$SLAPD_LDBM" == "db" ]]; then
+ LDFLAGS="-ldb $LDFLAGS"
+fi &&
OPTS="$OPTS
$OPENLDAP_SLAPD $SLAPD_ACI $SLAPD_DNSSRV $SLAPD_MONITOR
diff --git a/collab/openldap/HISTORY b/collab/openldap/HISTORY
index d89c8e8..44f2949 100644
--- a/collab/openldap/HISTORY
+++ b/collab/openldap/HISTORY
@@ -1,3 +1,6 @@
+2011-08-18 Bor Kraljič <pyrobor AT ver.si>
+ * BUILD: add -ldb to LDFLAGS if db support is enabled (fixes #50)
+
2011-07-19 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.4.26
- [SM-Commit] GIT changes to master grimoire by Bor Kraljič (385dcf50d01b0a2a8a2453c92f972505b78e9694), Bor Kraljič, 08/18/2011
Archive powered by MHonArc 2.6.24.