Index: build/config/gcc/BUILD.gn |
diff --git a/build/config/gcc/BUILD.gn b/build/config/gcc/BUILD.gn |
index d5b9ddb4579d1781b3d359ba6538483221f1c5da..c9639ad91cf3ba96691ec86474b342346584aa79 100644 |
--- a/build/config/gcc/BUILD.gn |
+++ b/build/config/gcc/BUILD.gn |
@@ -21,9 +21,8 @@ config("symbol_visibility_hidden") { |
# Settings for executables and shared libraries. |
config("executable_ldconfig") { |
ldflags = [ |
- # Want to pass "\$". Need to escape both '\' and '$'. GN will re-escape as |
- # required for ninja. |
- "-Wl,-rpath=\\\$ORIGIN/lib/", |
+ # Want to pass "\$". GN will re-escape as required for ninja. |
+ "-Wl,-rpath=\$ORIGIN/lib/", |
"-Wl,-rpath-link=lib/", |
] |