Skip to content

Commit 336685e

Browse files
randolffanquake
authored andcommitted
[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.
1 parent 45173fa commit 336685e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-aux/m4/bitcoin_find_bdb48.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
6464
6565
if test "x$BDB_LIBS" = "x"; then
6666
# TODO: Ideally this could find the library version and make sure it matches the headers being used
67-
for searchlib in db_cxx-4.8 db_cxx; do
67+
for searchlib in db_cxx-4.8 db_cxx db4_cxx; do
6868
AC_CHECK_LIB([$searchlib],[main],[
6969
BDB_LIBS="-l${searchlib}"
7070
break

0 commit comments

Comments
 (0)