summaryrefslogtreecommitdiff
path: root/nptl/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/Makeconfig')
-rw-r--r--nptl/Makeconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/Makeconfig b/nptl/Makeconfig
index 54e2f65b01..e7beea0ede 100644
--- a/nptl/Makeconfig
+++ b/nptl/Makeconfig
@@ -1,4 +1,4 @@
-# Copyright (C) 2002,2003,2005,2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -17,7 +17,7 @@
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA.
-# Makeconfig fragment for NPTL add-on.
+# Makeconfig fragment for linuxthreads add-on.
# This gets included at the end of the main glibc Makeconfig.
have-thread-library = yes
@@ -28,3 +28,7 @@ static-thread-library = $(common-objpfx)nptl/libpthread.a
bounded-thread-library = $(common-objpfx)nptl/libpthread_b.a
rpath-dirs += nptl
+
+ifneq ($(subdir),nptl)
+includes += -I$(..)nptl
+endif