summaryrefslogtreecommitdiff
path: root/libpthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r--libpthread/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index ee7cbf6a0..7a7fb30fa 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -48,6 +48,9 @@ LIBTHREAD_DB_LDFLAGS := $(subst -z defs,,$(LDFLAGS))
all: $(LIBPTHREAD) $(LIBTHREAD_DB)
+headers:
+ $(LN) -sf $(TOPDIR)libpthread/linuxthreads/sysdeps/pthread/pthread.h $(TOPDIR)include/pthread.h
+
$(LIBPTHREAD): subdirs
ifeq ($(strip $(UCLIBC_HAS_THREADS)),y)
$(INSTALL) -d $(TOPDIR)lib