diff --git a/cmake_support/OST.cmake b/cmake_support/OST.cmake
index 297696f4ce0d1468309feed082bc96c68f0fa302..89c0f0973438df94ecf1bb98897432557f9cf637 100644
--- a/cmake_support/OST.cmake
+++ b/cmake_support/OST.cmake
@@ -211,7 +211,7 @@ macro(module)
       foreach(_DEPENDENCY ${_ARG_DEPENDS_ON})
         target_link_libraries(${_LIB_NAME}_static ${_DEPENDENCY}_static)
       endforeach()
-      target_link_libraries(${_LIB_NAME} ${ZLIB_LIBRARIES})
+      target_link_libraries(${_LIB_NAME}_static ${ZLIB_LIBRARIES} ${_ARG_LINK})
     endif()
     if (APPLE)
       set_target_properties(${_LIB_NAME} PROPERTIES