diff --git a/mediapipe/examples/desktop/hello_world/BUILD b/mediapipe/examples/desktop/hello_world/BUILD index ff36a24f00..52b4dc386b 100644 --- a/mediapipe/examples/desktop/hello_world/BUILD +++ b/mediapipe/examples/desktop/hello_world/BUILD @@ -27,4 +27,7 @@ cc_binary( "//mediapipe/framework/port:parse_text_proto", "//mediapipe/framework/port:status", ], + linkopts = [ + "-lunwind", + ], ) diff --git a/mediapipe/examples/desktop/media_sequence/BUILD b/mediapipe/examples/desktop/media_sequence/BUILD index 30b37d82af..dd65ad5a60 100644 --- a/mediapipe/examples/desktop/media_sequence/BUILD +++ b/mediapipe/examples/desktop/media_sequence/BUILD @@ -37,4 +37,7 @@ cc_binary( "//mediapipe/graphs/media_sequence:clipped_images_from_file_at_24fps_calculators", "//mediapipe/graphs/media_sequence:tvl1_flow_and_rgb_from_file_calculators", ], + linkopts = [ + "-lunwind", + ], ) diff --git a/mediapipe/examples/desktop/object_detection/BUILD b/mediapipe/examples/desktop/object_detection/BUILD index 4ce4fd9001..e74b68ed12 100644 --- a/mediapipe/examples/desktop/object_detection/BUILD +++ b/mediapipe/examples/desktop/object_detection/BUILD @@ -63,6 +63,9 @@ cc_binary( "//mediapipe/graphs/object_detection:desktop_tensorflow_calculators", "@org_tensorflow//tensorflow/core:direct_session", ], + linkopts = [ + "-lunwind", + ], ) cc_binary( @@ -71,4 +74,7 @@ cc_binary( "//mediapipe/examples/desktop:simple_run_graph_main", "//mediapipe/graphs/object_detection:desktop_tflite_calculators", ], + linkopts = [ + "-lunwind", + ], )