diff options
author | Josh Blum | 2012-11-01 03:33:04 -0700 |
---|---|---|
committer | Josh Blum | 2012-11-01 03:33:04 -0700 |
commit | 1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb (patch) | |
tree | 5d34e663c07351737653c46c4cecb40e83101a3b /lib | |
parent | bbd292bdf0c8b7e3c582e0d9766f51f108a17172 (diff) | |
download | sandhi-1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb.tar.gz sandhi-1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb.tar.bz2 sandhi-1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb.zip |
building gnuradio, some workarounds
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 //------------------------------------------------------------------ |