summaryrefslogtreecommitdiffstats
path: root/third_party/widevine
diff options
context:
space:
mode:
authorddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-20 23:57:58 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-20 23:57:58 +0000
commit55f7c2341de6ac2b2bce221da29a2513f07862c2 (patch)
tree21032bf715eccbecb7a5fca0988bf9eeb032040f /third_party/widevine
parentf3b7777ef1773453638a782b5082eca46702fb52 (diff)
downloadchromium_src-55f7c2341de6ac2b2bce221da29a2513f07862c2.zip
chromium_src-55f7c2341de6ac2b2bce221da29a2513f07862c2.tar.gz
chromium_src-55f7c2341de6ac2b2bce221da29a2513f07862c2.tar.bz2
Allow the CDM plugin wrappers to find the CDM in the same directory.
Sets the rpath to the directory of the plugin (or executable). BUG=none TEST=With the CDM not in lib/, start Chrome and use the CDM. Review URL: https://chromiumcodereview.appspot.com/11175022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/widevine')
-rw-r--r--third_party/widevine/cdm/widevine_cdm.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp
index 44cf6e7..8394954 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -70,6 +70,8 @@
# -gstabs, used in the official builds, causes an ICE. Simply
# remove it.
'cflags!': ['-gstabs'],
+ # Allow the plugin wrapper to find the CDM in the same directory.
+ 'ldflags': ['-Wl,-rpath=\$$ORIGIN']
}],
[ 'OS == "win" and 0', {
'type': 'shared_library',