summaryrefslogtreecommitdiff
path: root/include/ztrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ztrace.h')
-rw-r--r--include/ztrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ztrace.h b/include/ztrace.h
index fc6f263..1b7893c 100644
--- a/include/ztrace.h
+++ b/include/ztrace.h
@@ -8,6 +8,9 @@
* -Wl,--wrap=malloc,--wrap=calloc,--wrap=realloc,--wrap=free
* -Wl,--wrap=posix_memalign,--wrap=aligned_alloc,--wrap=memalign
* -Wl,--wrap=pthread_create,--wrap=fork
+ * and, when libc is linked statically too (glibc with -static), so that its
+ * own are still there to call:
+ * -Wl,-u,malloc,-u,pthread_create,-u,fork
*/
#ifndef ZTRACE_H
#define ZTRACE_H