--- src/CMakeLists.txt.orig	2020-05-29 04:35:51 UTC
+++ src/CMakeLists.txt
@@ -23,7 +23,7 @@ set(HEADER_FILES    conv.h
 					wtmath.h
                     )
 
-add_library(wavelib STATIC ${SOURCE_FILES} ${HEADER_FILES})
+add_library(wavelib SHARED ${SOURCE_FILES} ${HEADER_FILES})
 
 include(CheckSymbolExists)
 
