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

Unified Diff: trunk/src/build/linux/sysroot_ld_path.sh

Issue 12700030: Revert 188895 "Add library paths and rlink-paths for directories..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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 | « trunk/src/build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/build/linux/sysroot_ld_path.sh
===================================================================
--- trunk/src/build/linux/sysroot_ld_path.sh (revision 188903)
+++ trunk/src/build/linux/sysroot_ld_path.sh (working copy)
@@ -1,27 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Reads etc/ld.so.conf.d/*.conf and returns the appropriate linker flags.
-#
-# sysroot_ld_path.sh /abspath/to/sysroot
-#
-
-if [ $# -ne 1 ]; then
- echo $0 /abspath/to/sysroot
- exit 1
-fi
-
-echo $1 | grep -qs ' '
-if [ $? -eq 0 ]; then
- echo $1 contains whitespace.
- exit 1
-fi
-
-for entry in $(cat $1/etc/ld.so.conf.d/*.conf | grep ^/)
-do
- entry=$1$entry
- echo -L$entry
- echo -Wl,-rpath-link=$entry
-done | xargs echo
« no previous file with comments | « trunk/src/build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698