diff --git a/engine/src/flutter/shell/platform/linux/BUILD.gn b/engine/src/flutter/shell/platform/linux/BUILD.gn index a8109be879..94be849bcd 100644 --- a/engine/src/flutter/shell/platform/linux/BUILD.gn +++ b/engine/src/flutter/shell/platform/linux/BUILD.gn @@ -220,6 +220,8 @@ executable("flutter_linux_unittests") { shared_library("flutter_linux_gtk") { deps = [ ":flutter_linux" ] + ldflags = [ "-Wl,-rpath,\$ORIGIN" ] + public_configs = [ "//flutter:config" ] }