summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 7a0c48733..8389f74e5 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -334,8 +334,12 @@ ifeq ($(UCLIBC_HAS_THREADS),y)
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
PTNAME := nptl
else
+ifeq ($(LINUXTHREADS_OLD),y)
+ PTNAME := linuxthreads.old
+else
PTNAME := linuxthreads
endif
+endif
PTDIR := $(TOPDIR)libpthread/$(PTNAME)
# set up system dependencies include dirs (NOTE: order matters!)
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)