File dynamic_linking.patch of Package boost171

Index: boost_1_70_0/libs/test/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/test/build/Jamfile.v2
+++ boost_1_70_0/libs/test/build/Jamfile.v2
@@ -95,7 +95,7 @@ lib boost_test_exec_monitor
   : # sources
     $(TEST_EXEC_MON_SOURCES).cpp
   : # requirements
-    <link>static
+    # <link>static
   : # default build
   : # usage-requirements
     <link>shared:<define>BOOST_TEST_DYN_LINK=1
Index: boost_1_70_0/libs/exception/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/exception/build/Jamfile.v2
+++ boost_1_70_0/libs/exception/build/Jamfile.v2
@@ -7,7 +7,7 @@
 
 project boost/exception
     : source-location ../src
-    : requirements <link>static
+    : # requirements <link>static
     ;
 
 lib boost_exception : clone_current_exception_non_intrusive.cpp ;
Index: boost_1_70_0/libs/chrono/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/chrono/build/Jamfile.v2
+++ boost_1_70_0/libs/chrono/build/Jamfile.v2
@@ -93,7 +93,7 @@ project boost/chrono
         <toolset>sun:<define>__typeof__=__typeof__
 
         <link>shared:<define>BOOST_CHRONO_DYN_LINK=1
-        <link>static:<define>BOOST_CHRONO_STATIC_LINK=1
+        # <link>static:<define>BOOST_CHRONO_STATIC_LINK=1
         <toolset>gcc-3.4.4:<linkflags>--enable-auto-import
         <toolset>gcc-4.3.4:<linkflags>--enable-auto-import
         <toolset>gcc-4.4.0,<target-os>windows:<linkflags>--enable-auto-import 
@@ -107,7 +107,7 @@ lib boost_chrono
     : $(SOURCES).cpp
     :
     <link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
-    <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
+    # <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's
     ;
 
 boost-install boost_chrono ;
Index: boost_1_70_0/libs/system/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/system/build/Jamfile.v2
+++ boost_1_70_0/libs/system/build/Jamfile.v2
@@ -11,7 +11,7 @@ project boost/system
     : source-location ../src
     : usage-requirements  # pass these requirement to dependents (i.e. users)
       <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
-      <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
+#      <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
     ;
 
 SOURCES = error_code ;
@@ -19,7 +19,7 @@ SOURCES = error_code ;
 lib boost_system
    : $(SOURCES).cpp
    : <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
-     <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
+#     <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
    ;
 
 boost-install boost_system ;
Index: boost_1_70_0/libs/timer/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/timer/build/Jamfile.v2
+++ boost_1_70_0/libs/timer/build/Jamfile.v2
@@ -13,7 +13,7 @@ project boost/timer
       <library>/boost/chrono//boost_chrono
     : usage-requirements  # pass these requirement to dependants (i.e. users)
       <link>shared:<define>BOOST_TIMER_DYN_LINK=1
-      <link>static:<define>BOOST_TIMER_STATIC_LINK=1
+#      <link>static:<define>BOOST_TIMER_STATIC_LINK=1
     ;
 
 SOURCES = auto_timers_construction cpu_timer ;
@@ -21,7 +21,7 @@ SOURCES = auto_timers_construction cpu_t
 lib boost_timer
    : $(SOURCES).cpp
    : <link>shared:<define>BOOST_TIMER_DYN_LINK=1
-     <link>static:<define>BOOST_TIMER_STATIC_LINK=1
+#     <link>static:<define>BOOST_TIMER_STATIC_LINK=1
    ;
 
 boost-install boost_timer ;
Index: boost_1_70_0/libs/filesystem/build/Jamfile.v2
===================================================================
--- boost_1_70_0.orig/libs/filesystem/build/Jamfile.v2
+++ boost_1_70_0/libs/filesystem/build/Jamfile.v2
@@ -11,7 +11,7 @@ project boost/filesystem
     : source-location ../src
     : usage-requirements # pass these requirement to dependents (i.e. users)
       <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
-      <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
+#      <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
     ;
 
 SOURCES =
@@ -28,7 +28,7 @@ SOURCES =
 lib boost_filesystem
     : $(SOURCES).cpp
     : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
-      <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
+#      <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
     :
     :
     ;
openSUSE Build Service is sponsored by