bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] pthread: Fix pthread.h creation for srcdir != builddir


From: Matthias Bolte
Subject: [PATCH] pthread: Fix pthread.h creation for srcdir != builddir
Date: Sat, 14 Aug 2010 01:36:21 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

---
 modules/pthread |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/pthread b/modules/pthread
index 9b930b1..76eca90 100644
--- a/modules/pthread
+++ b/modules/pthread
@@ -18,7 +18,7 @@ BUILT_SOURCES += $(PTHREAD_H)
 # We need the following in order to create <pthread.h> when the system
 # doesn't have one that works with the given compiler.
 pthread.h: pthread.in.h
-       $(AM_V_GEN)ln -f pthread.in.h $@ || cp pthread.in.h $@
+       $(AM_V_GEN)ln -f $(srcdir)/pthread.in.h $@ || cp $(srcdir)/pthread.in.h 
$@
 MOSTLYCLEANFILES += pthread.h
 
 Include:
-- 
1.7.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]