summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-21 02:05:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-21 02:05:48 +0000
commitb402fab3c3e317225b9649d29d95758e7dd2bbe2 (patch)
treed60e06cecf059290c1eabd19a49fab7826aa05a8 /libpthread
parent92ba1e6ffd79354ad2e70d5a98ef86903d51db43 (diff)
dont duplicate pthread.h in include and libpthread subdirs, so symlink it
Diffstat (limited to 'libpthread')
-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