diff options
author | Jon Gjengset | 2015-10-06 19:48:39 -0400 |
---|---|---|
committer | Jon Gjengset | 2015-10-06 19:48:58 -0400 |
commit | 04521296be0519dafcbd3b324c1e719dd8a2a755 (patch) | |
tree | bea669427a06b5371de775f0095916f4c382c020 /fix-preload-path.patch | |
parent | 7cdbd3104fda2d1ff45d8f7a99dd56f2fb6eda69 (diff) | |
download | aur-04521296be0519dafcbd3b324c1e719dd8a2a755.tar.gz |
Correctly fix LD_PRELOAD
Diffstat (limited to 'fix-preload-path.patch')
-rw-r--r-- | fix-preload-path.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-preload-path.patch b/fix-preload-path.patch new file mode 100644 index 000000000000..0e264ceee95e --- /dev/null +++ b/fix-preload-path.patch @@ -0,0 +1,14 @@ +diff --git a/coz b/coz +index 7e9a1ff..2a1e3b4 100755 +--- a/coz ++++ b/coz +@@ -34,8 +34,7 @@ def _coz_run(args): + exit(1) + + env = copy.deepcopy(os.environ) +- coz_prefix = dirname(dirname(abspath(sys.argv[0]))) +- coz_runtime = coz_prefix + path_sep + 'coz' + path_sep + 'libcoz' + path_sep + 'libcoz.so' ++ coz_runtime = '/usr/share/coz/libcoz.so' + + if 'LD_PRELOAD' in env: + env['LD_PRELOAD'] += ':' + coz_runtime |