mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 09:17:53 +00:00
White list Ubuntu for boost without -mt.
This commit is contained in:
@@ -7,6 +7,7 @@ import platform
|
|||||||
|
|
||||||
OSX = bool(platform.mac_ver()[0])
|
OSX = bool(platform.mac_ver()[0])
|
||||||
FreeBSD = bool('FreeBSD' == platform.system())
|
FreeBSD = bool('FreeBSD' == platform.system())
|
||||||
|
Ubuntu = bool('Ubuntu' == platform.dist())
|
||||||
|
|
||||||
if OSX:
|
if OSX:
|
||||||
CTAGS = '/usr/bin/ctags'
|
CTAGS = '/usr/bin/ctags'
|
||||||
@@ -44,8 +45,12 @@ for dir in ['ripple', 'database', 'json', 'websocketpp']:
|
|||||||
# Use openssl
|
# Use openssl
|
||||||
env.ParseConfig('pkg-config --cflags --libs openssl')
|
env.ParseConfig('pkg-config --cflags --libs openssl')
|
||||||
|
|
||||||
|
# The required version of boost is documented in the README file.
|
||||||
|
# We are whitelisting platforms where the non -mt version is linked with pthreads.
|
||||||
|
#
|
||||||
# The convention for FreeBSD appears to not have -mt. This is unverfied.
|
# The convention for FreeBSD appears to not have -mt. This is unverfied.
|
||||||
if FreeBSD:
|
# Ubuntu non-mt libs do link with pthreads.
|
||||||
|
if FreeBSD or Ubuntu:
|
||||||
env.Append(
|
env.Append(
|
||||||
LIBS = [
|
LIBS = [
|
||||||
'boost_date_time',
|
'boost_date_time',
|
||||||
|
|||||||
Reference in New Issue
Block a user