summaryrefslogtreecommitdiffstats
path: root/third_party/widevine/cdm/widevine_cdm.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/widevine/cdm/widevine_cdm.gyp')
-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',