0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-09-22 08:31:01 +00:00
glibc-packages/cgct/glibc-cgct/dl-support.c.patch
2024-08-02 18:33:01 +03:00

32 lines
1.2 KiB
Diff

--- src/glibc-2.40/elf/dl-support.c 2024-01-31 03:34:58.000000000 +0300
+++ src/glibc-2.40/elf/dl-support.c.patch 2024-04-22 08:51:46.138373102 +0300
@@ -293,11 +293,11 @@
}
}
- _dl_verbose = *(getenv ("LD_WARN") ?: "") == '\0' ? 0 : 1;
+ _dl_verbose = *(getenv ("LD_WARN_CGCT") ?: "") == '\0' ? 0 : 1;
/* Initialize the data structures for the search paths for shared
objects. */
- _dl_init_paths (getenv ("LD_LIBRARY_PATH"), "LD_LIBRARY_PATH",
+ _dl_init_paths (getenv ("LD_LIBRARY_PATH_CGCT"), "LD_LIBRARY_PATH_CGCT",
/* No glibc-hwcaps selection support in statically
linked binaries. */
NULL, NULL);
@@ -305,11 +305,11 @@
/* Remember the last search directory added at startup. */
_dl_init_all_dirs = GL(dl_all_dirs);
- _dl_lazy = *(getenv ("LD_BIND_NOW") ?: "") == '\0';
+ _dl_lazy = *(getenv ("LD_BIND_NOW_CGCT") ?: "") == '\0';
- _dl_bind_not = *(getenv ("LD_BIND_NOT") ?: "") != '\0';
+ _dl_bind_not = *(getenv ("LD_BIND_NOT_CGCT") ?: "") != '\0';
- _dl_dynamic_weak = *(getenv ("LD_DYNAMIC_WEAK") ?: "") == '\0';
+ _dl_dynamic_weak = *(getenv ("LD_DYNAMIC_WEAK_CGCT") ?: "") == '\0';
#ifdef DL_PLATFORM_INIT
DL_PLATFORM_INIT;