summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/preinstall.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/preinstall.am')
-rw-r--r--cpukit/posix/preinstall.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/posix/preinstall.am b/cpukit/posix/preinstall.am
index 99a85dd0cb..02962d49d4 100644
--- a/cpukit/posix/preinstall.am
+++ b/cpukit/posix/preinstall.am
@@ -19,6 +19,7 @@ $(PROJECT_INCLUDE)/$(dirstamp):
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
if LIBPOSIX
+if HAS_PTHREADS
$(PROJECT_INCLUDE)/sched.h: include/sched.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sched.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/sched.h
@@ -177,3 +178,4 @@ $(PROJECT_INCLUDE)/rtems/posix/spinlock.inl: inline/rtems/posix/spinlock.inl $(P
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/spinlock.inl
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/spinlock.inl
endif
+endif