diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/block_task.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 0657f28..5987d46 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -58,7 +58,7 @@ list(APPEND GRAS_SOURCES ######################################################################## # Build library ######################################################################## -add_library(gras SHARED ${GRAS_SOURCES}) +add_library(gras STATIC ${GRAS_SOURCES}) target_link_libraries(gras ${GRAS_LIBRARIES}) install(TARGETS gras diff --git a/lib/block_task.cpp b/lib/block_task.cpp index be97af2..f3ddb04 100644 --- a/lib/block_task.cpp +++ b/lib/block_task.cpp @@ -224,6 +224,10 @@ void BlockActor::handle_task(void) } } + //workaround: + if (num_outputs) output_items[0].size() = work_noutput_items; + else input_items[0].size() = work_noutput_items; + //------------------------------------------------------------------ //-- the work //------------------------------------------------------------------ |