From eff0271e7a74dbdc405e74af8f68ee1d9ad3c9ab Mon Sep 17 00:00:00 2001 From: MarkusTeufelberger Date: Thu, 26 Sep 2013 09:18:36 +0200 Subject: [PATCH] Add Arch Linux to SConstruct file --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 7ce6d5807..6d7d43a60 100644 --- a/SConstruct +++ b/SConstruct @@ -13,6 +13,7 @@ OSX = bool(platform.mac_ver()[0]) FreeBSD = bool('FreeBSD' == platform.system()) Linux = bool('Linux' == platform.system()) Ubuntu = bool(Linux and 'Ubuntu' == platform.linux_distribution()[0]) +Archlinux = bool(Linux and ('','','') == platform.linux_distribution()) #Arch still has issues with the platform module # # We expect this to be set @@ -20,7 +21,7 @@ Ubuntu = bool(Linux and 'Ubuntu' == platform.linux_distribution()[0]) BOOST_HOME = os.environ.get("RIPPLED_BOOST_HOME", None) -if OSX or Ubuntu: +if OSX or Ubuntu or Archlinux: CTAGS = 'ctags' elif FreeBSD: CTAGS = 'exctags' @@ -89,7 +90,7 @@ BOOST_LIBS = [ # We whitelist platforms where the non -mt version is linked with pthreads. This # can be verified with: ldd libboost_filesystem.* If a threading library is # included the platform can be whitelisted. -if FreeBSD or Ubuntu or OSX: +if FreeBSD or Ubuntu or Archlinux or OSX: # non-mt libs do link with pthreads. env.Append( LIBS = BOOST_LIBS