Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1214)

Unified Diff: build/config/posix/sysroot_ld_path.py

Issue 2900193003: Use relative path in -L and -Wl,-rpath-link (Closed)
Patch Set: don't print on empty Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/posix/BUILD.gn ('k') | build/linux/sysroot_ld_path.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/posix/sysroot_ld_path.py
diff --git a/build/config/posix/sysroot_ld_path.py b/build/config/posix/sysroot_ld_path.py
index a90e54f236dadd46712c770a817a0185fcfd0562..7056207a23b4664ae0fcede03b3e1938f60651a1 100644
--- a/build/config/posix/sysroot_ld_path.py
+++ b/build/config/posix/sysroot_ld_path.py
@@ -16,5 +16,6 @@ if len(sys.argv) != 3:
sys.exit(1)
result = subprocess.check_output([sys.argv[1], sys.argv[2]]).strip()
-
-print result.replace(" ", "\n")
+result = result.replace(" ", "\n")
+if result != "":
+ print result
« no previous file with comments | « build/config/posix/BUILD.gn ('k') | build/linux/sysroot_ld_path.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698