Commit e3b9d0be authored by jamesr@chromium.org's avatar jamesr@chromium.org

GN: Fix extra escaping of rpath=$ORIGIN/lib ldflag

As written the argument ended up in the .ninja file as \\\$$ORIGIN/lib/
but we want \$$ORIGIN/lib/ to match gyp.

R=brettw@chromium.org

Review URL: https://codereview.chromium.org/409883009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284888 0039d316-1c4b-4281-b951-d872f2087c98
parent 720b1049
......@@ -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/",
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment