Commit 42d441c8 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#8948 - Fix BDB lib to only be linked with static backend

parent 24caba7a
...@@ -1899,7 +1899,13 @@ if test $ol_enable_bdb/$ol_enable_hdb != no/no; then ...@@ -1899,7 +1899,13 @@ if test $ol_enable_bdb/$ol_enable_hdb != no/no; then
BDB_LIBS="$BDB_LIBS $ol_cv_lib_db" BDB_LIBS="$BDB_LIBS $ol_cv_lib_db"
fi fi
SLAPD_LIBS="$SLAPD_LIBS \$(BDB_LIBS)" dnl link BDB library to slapd when there is a
dnl static BDB based backend in use
if test $ol_enable_bdb/$ol_enable_hdb != mod/mod ; then
if test $ol_enable_bdb = yes -o $ol_enable_hdb = yes ; then
SLAPD_LIBS="$SLAPD_LIBS \$(BDB_LIBS)"
fi
fi
ol_link_bdb=yes ol_link_bdb=yes
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment