summaryrefslogtreecommitdiff
path: root/libc/elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/elf/Makefile')
-rw-r--r--libc/elf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/elf/Makefile b/libc/elf/Makefile
index 2db29b0e9..fd78f523d 100644
--- a/libc/elf/Makefile
+++ b/libc/elf/Makefile
@@ -428,7 +428,8 @@ CFLAGS-dl-cache.c = $(SYSCONF-FLAGS)
CFLAGS-cache.c = $(SYSCONF-FLAGS)
CFLAGS-rtld.c = $(SYSCONF-FLAGS)
-CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),-DNOT_IN_libc=1 -DIS_IN_rtld=1)
+CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
+ -DNOT_IN_libc=1 -DIS_IN_rtld=1 -DIN_LIB=rtld)
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names))))
generated += $(addsuffix .so,$(strip $(modules-names)))