summary refs log blame commit diff
path: root/pkgs/development/libraries/glibc/2.19/dont-use-system-ld-so-preload.patch
blob: fabb6c3ec5e1379f4f0f201bfc5ab4b6066a5cf1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                       
diff -rupN a/elf/rtld.c b/elf/rtld.c
--- a/elf/rtld.c	2013-08-11 00:52:55.000000001 +0200
+++ b/elf/rtld.c	2014-02-18 13:56:19.000000001 +0100
@@ -1639,7 +1639,7 @@ ERROR: ld.so: object '%s' cannot be load
      open().  So we do this first.  If it succeeds we do almost twice
      the work but this does not matter, since it is not for production
      use.  */
-  static const char preload_file[] = "/etc/ld.so.preload";
+  static const char preload_file[] = "/etc/ld-nix.so.preload";
   if (__builtin_expect (__access (preload_file, R_OK) == 0, 0))
     {
       /* Read the contents of the file.  */