Browse Source

[build] Add db4_cxx to bitcoin_find_bdb48.m4

Added "db4_cxx" as this is the name used in NetBSD for the Berkeley DB library.  Without this additional base filename alternative, the "configure" script will fail to find this library and compilation will not succeed.
tags/v0.16.1
Randolf Richardson 3 years ago
parent
commit
336685e17e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build-aux/m4/bitcoin_find_bdb48.m4

+ 1
- 1
build-aux/m4/bitcoin_find_bdb48.m4 View File

@@ -64,7 +64,7 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
if test "x$BDB_LIBS" = "x"; then
# TODO: Ideally this could find the library version and make sure it matches the headers being used
for searchlib in db_cxx-4.8 db_cxx; do
for searchlib in db_cxx-4.8 db_cxx db4_cxx; do
AC_CHECK_LIB([$searchlib],[main],[
BDB_LIBS="-l${searchlib}"
break

Loading…
Cancel
Save