--- host/examples/CMakeLists.txt.orig
+++ host/examples/CMakeLists.txt
@@ -41,6 +41,7 @@
     TARGET_LINK_LIBRARIES(${example_name} uhd)
     INSTALL(TARGETS ${example_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/examples COMPONENT examples)
 ENDFOREACH(example_source)
+TARGET_LINK_LIBRARIES(network_relay -pthread)
 
 ########################################################################
 # ASCII Art DFT - requires curses, so this part is optional
