File ecwolf-static-libs.patch of Package ecwolf

diff --git a/gdtoa/CMakeLists.txt b/gdtoa/CMakeLists.txt
index 82d3f4c..195c922 100644
--- a/gdtoa/CMakeLists.txt
+++ b/gdtoa/CMakeLists.txt
@@ -37,7 +37,7 @@ if( NOT MSVC AND NOT APPLE )
 	set( GEN_FP_DEPS ${CMAKE_CURRENT_BINARY_DIR}/arith.h ${CMAKE_CURRENTY_BINARY_DIR}/gd_qnan.h )
 endif( NOT MSVC AND NOT APPLE )
 
-add_library( gdtoa
+add_library( gdtoa STATIC
 	${GEN_FP_FILES}
 	dmisc.c
 	dtoa.c
diff --git a/lzma/CMakeLists.txt b/lzma/CMakeLists.txt
index b17c3fb..07dec61 100644
--- a/lzma/CMakeLists.txt
+++ b/lzma/CMakeLists.txt
@@ -34,5 +34,5 @@ else( WIN32 )
 	set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_7ZIP_ST" )
 endif( WIN32 )
 
-add_library( lzma ${LZMA_FILES} )
+add_library( lzma STATIC ${LZMA_FILES} )
 target_link_libraries( lzma )
openSUSE Build Service is sponsored by