[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [emerge] bin/BuildSystem: add possebility to build boost static
From:       Patrick von Reth <patrick.vonreth () gmail ! com>
Date:       2012-03-20 15:57:35
Message-ID: 20120320155735.492B7A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit f6f51889d3e55074f12c82e97b08741c6e43bbdc by Patrick von Reth.
Committed on 20/03/2012 at 16:54.
Pushed by vonreth into branch 'master'.

add possebility to build boost static

M  +7    -2    bin/BuildSystem/BoostBuildSystem.py

http://commits.kde.org/emerge/f6f51889d3e55074f12c82e97b08741c6e43bbdc

diff --git a/bin/BuildSystem/BoostBuildSystem.py b/bin/BuildSystem/BoostBuildSystem.py
index 63f0202..ef0ab44 100644
--- a/bin/BuildSystem/BoostBuildSystem.py
+++ b/bin/BuildSystem/BoostBuildSystem.py
@@ -22,9 +22,14 @@ class BoostBuildSystem(BuildSystemBase):
 #                " --debug-configuration"
                 " --build-dir=" + self.buildDir() + \
                 " threading=multi"
-                " link=shared"
-                " runtime-link=shared"
                 " -j"+ os.getenv("NUMBER_OF_PROCESSORS"))
+                
+        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