- Allow to build shared libs.

--- src/CMakeLists.txt.orig	2025-11-23 12:19:53 UTC
+++ src/CMakeLists.txt
@@ -119,12 +119,12 @@ endif()
 endif()
 
 #create zimpl with pic
-add_library(libzimpl-pic STATIC ${libsources})
+add_library(libzimpl-pic ${libsources} ${binsources})
 set_target_properties(libzimpl-pic PROPERTIES POSITION_INDEPENDENT_CODE on)
 target_link_libraries(libzimpl-pic ${libs})
 
 #create zimpl without pic
-add_library(libzimpl STATIC ${libsources})
+add_library(libzimpl ${libsources} ${binsources})
 target_link_libraries(libzimpl ${libs})
 
 #create zimpl binary
