mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
build: Fix boost build on some platforms
When the libpath doesn't line up with the value from config.sub, we don't find the correct path to boost's libs. This adds a hack to try another path before giving up. Should close #3219.
This commit is contained in:
parent
984ff68c67
commit
54c7df81f3
@ -112,6 +112,12 @@ if test "x$want_boost" = "xyes"; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
dnl some arches may advertise a cpu type that doesn't line up with their
|
||||||
|
dnl prefix's cpu type. For example, uname may report armv7l while libs are
|
||||||
|
dnl installed to /usr/lib/arm-linux-gnueabihf. Try getting the compiler's
|
||||||
|
dnl value for an extra chance of finding the correct path.
|
||||||
|
libsubdirs="lib/`$CXX -dumpmachine 2>/dev/null` $libsubdirs"
|
||||||
|
|
||||||
dnl first we check the system location for boost libraries
|
dnl first we check the system location for boost libraries
|
||||||
dnl this location ist chosen if boost libraries are installed with the --layout=system option
|
dnl this location ist chosen if boost libraries are installed with the --layout=system option
|
||||||
dnl or if you install boost with RPM
|
dnl or if you install boost with RPM
|
||||||
|
Loading…
Reference in New Issue
Block a user