shaka-packager/tools/gn/secondary/build/config/linux/BUILD.gn

15 lines
461 B
Plaintext

# 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.
# Sets up the dynamic library search path to include our "lib" directory.
config("executable_ldconfig") {
ldflags = [
# Want to pass "\$". Need to escape both '\' and '$'. GN will re-escape as
# required for ninja.
"-Wl,-rpath=\\\$ORIGIN/lib/",
"-Wl,-rpath-link=lib/",
]
}