[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [emerge/kde-4.8] bin/BuildSystem: add possebility to build boost static
From: Patrick von Reth <patrick.vonreth () gmail ! com>
Date: 2012-03-20 15:54:52
Message-ID: 20120320155452.5B0F5A60A9 () git ! kde ! org
[Download RAW message or body]
Git commit b817d10dbdd8d4dea702011efce343873395fe38 by Patrick von Reth.
Committed on 20/03/2012 at 16:54.
Pushed by vonreth into branch 'kde-4.8'.
add possebility to build boost static
M +8 -3 bin/BuildSystem/BoostBuildSystem.py
http://commits.kde.org/emerge/b817d10dbdd8d4dea702011efce343873395fe38
diff --git a/bin/BuildSystem/BoostBuildSystem.py b/bin/BuildSystem/BoostBuildSystem.py
index 8b98845..6267171 100644
--- a/bin/BuildSystem/BoostBuildSystem.py
+++ b/bin/BuildSystem/BoostBuildSystem.py
@@ -21,9 +21,14 @@ class BoostBuildSystem(BuildSystemBase):
options += (" --build-type=minimal"
# " --debug-configuration"
" --build-dir=" + self.buildDir() + \
- " threading=multi"
- " link=shared"
- " runtime-link=shared")
+ " threading=multi")
+
+ if not utils.varAsBool(self.subinfo.options.buildStatic):
+ options += " link=shared"
+ " runtime-link=shared")
+ else:
+ options += " link=static"
+ " runtime-link=static")
options += " variant="
if self.buildType() == "Debug":
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic