summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/tsearch/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/tsearch/Makefile b/libc/misc/tsearch/Makefile
index 6f568509c..c897d2781 100644
--- a/libc/misc/tsearch/Makefile
+++ b/libc/misc/tsearch/Makefile
@@ -31,8 +31,8 @@ all: $(MOBJ) $(LIBC)
$(LIBC): ar-target
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+ar-target: $(MOBJ)
+ $(AR) $(ARFLAGS) $(LIBC) $(MOBJ)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o