Skip to content

Commit d670cdd

Browse files
committed
Merge pull request #3407
952fe2e docs: remove workaround instructions now that the problem is fixed (Cory Fields) efdfee4 build: fix detection of boost libs on multi-arch distros (Cory Fields)
2 parents fb34be6 + 952fe2e commit d670cdd

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

doc/build-unix.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ To Build
1111

1212
This will build bitcoin-qt as well if the dependencies are met.
1313

14-
**Note:** on Ubuntu 13.10 (Saucy Salamander) the boost configuration script doesn't look in the
15-
correct directory and an error about boost-system will appear. For now you need to do
16-
17-
./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
18-
1914
Dependencies
2015
---------------------
2116

src/m4/ax_boost_base.m4

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# and this notice are preserved. This file is offered as-is, without any
3434
# warranty.
3535

36-
#serial 21
36+
#serial 22
3737

3838
AC_DEFUN([AX_BOOST_BASE],
3939
[
@@ -97,6 +97,12 @@ if test "x$want_boost" = "xyes"; then
9797
;;
9898
esac
9999
100+
dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
101+
dnl them priority over the other paths since, if libs are found there, they
102+
dnl are almost assuredly the ones desired.
103+
AC_REQUIRE([AC_CANONICAL_HOST])
104+
libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
105+
100106
dnl first we check the system location for boost libraries
101107
dnl this location ist chosen if boost libraries are installed with the --layout=system option
102108
dnl or if you install boost with RPM

0 commit comments

Comments
 (0)