X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=macros%2Fdb3-check.m4;h=4135e5ce2801915853e598ef0f8596726b4bcc42;hb=ec0ae51672bb9f91be79ba28edd70ac36bf36211;hp=902220befa3581e0a1d6a9dea9bc4a850e4ea599;hpb=85d268c10175d1e8050188a3a4797b40519a285e;p=netatalk.git diff --git a/macros/db3-check.m4 b/macros/db3-check.m4 index 902220be..4135e5ce 100644 --- a/macros/db3-check.m4 +++ b/macros/db3-check.m4 @@ -155,6 +155,9 @@ if test "x$bdb_required" = "xyes"; then if test x"${atalk_cv_bdb_version}" = x"yes"; then BDB_CFLAGS="-I${bdbdir}/include${subdir}" BDB_LIBS="-L${bdblibdir} ${atalk_cv_lib_db}" + if test x"$need_dash_r" = x"yes"; then + BDB_LIBS="$BDB_LIBS -R${bdblibdir}" + fi BDB_BIN="$bdbbindir" BDB_PATH="$bdbdir" bdbfound=yes @@ -178,6 +181,9 @@ if test "x$bdb_required" = "xyes"; then if test x"${atalk_cv_bdb_version}" = x"yes"; then BDB_CFLAGS="-I${bdbdir}/include${subdir}" BDB_LIBS="-L${bdblibdir} ${atalk_cv_lib_db}" + if test x"$need_dash_r" = x"yes"; then + BDB_LIBS="$BDB_LIBS -R${bdblibdir}" + fi BDB_BIN="$bdbbindir" BDB_PATH="$bdbdir" bdbfound=yes