Index: build/config/gcc/BUILD.gn |
diff --git a/build/config/gcc/BUILD.gn b/build/config/gcc/BUILD.gn |
index b457c1c57a1f9a1b56d11ff5c4fe6e2efbd57a0b..28502c2ec31cb6c1c8dc45598f03524abae406b3 100644 |
--- a/build/config/gcc/BUILD.gn |
+++ b/build/config/gcc/BUILD.gn |
@@ -22,9 +22,9 @@ config("symbol_visibility_hidden") { |
config("executable_ldconfig") { |
ldflags = [ |
# Want to pass "\$". GN will re-escape as required for ninja. |
- "-Wl,-rpath=\$ORIGIN/lib/", |
+ "-Wl,-rpath=\$ORIGIN/", |
- "-Wl,-rpath-link=lib/", |
+ "-Wl,-rpath-link=", |
# Newer binutils don't set DT_RPATH unless you disable "new" dtags |
# and the new DT_RUNPATH doesn't work without --no-as-needed flag. |