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

List:       kde-commits
Subject:    kdesupport/emerge/portage/win32libs-sources/boost-src
From:       Andre Heinecke <aheinecke () intevation ! de>
Date:       2010-10-21 11:22:52
Message-ID: 20101021112252.5FF43AC8A2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1188091 by aheinecke:

Boost can be a shared library when crosscompiling too


 M  +7 -9      boost-src-20101019.py  


--- trunk/kdesupport/emerge/portage/win32libs-sources/boost-src/boost-src-20101019.py #1188090:1188091
@@ -29,7 +29,10 @@
                 " --prefix=" + self.imageDir() + \
                 " --stagedir=" + os.path.join(self.buildDir(),"stage") + \
                 " threading=multi"
-                " variant=")
+                " link=shared"
+                " runtime-link=shared")
+
+        self.subinfo.options.configure.defines += " variant="
         if self.buildType() == "Debug":
             self.subinfo.options.configure.defines += "debug"
         else:
@@ -41,14 +44,9 @@
             self.subinfo.options.configure.defines += "msvc"
         if self.isHostBuild():
             self.subinfo.options.configure.defines += " --with-program_options"
-        if platform.isCrossCompilingEnabled():
-            self.subinfo.options.configure.defines += (
-                    " link=static"
-                    " runtime-link=static")
-        else:
-            self.subinfo.options.configure.defines += (" link=shared"
-                                                       " runtime-link=shared"
-                                                       " --with-python")
+        if not platform.isCrossCompilingEnabled():
+            self.subinfo.options.configure.defines += " --with-python"
+
     def configure(self):
         return True
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic