diff options
Diffstat (limited to 'debian/patches/libpthread_stubs.patch')
-rw-r--r-- | debian/patches/libpthread_stubs.patch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/patches/libpthread_stubs.patch b/debian/patches/libpthread_stubs.patch index 1d3932b9..6b73174a 100644 --- a/debian/patches/libpthread_stubs.patch +++ b/debian/patches/libpthread_stubs.patch @@ -35,12 +35,15 @@ diff -u -p -r1.7 Makefile # XXX: These rules are a hack. But it is better than messing with # ../Makeconf at the moment. Note that the linker scripts -@@ -199,6 +199,15 @@ $(libdir)/libpthread2_pic.a: $(libdir)/l +@@ -199,6 +199,18 @@ $(libdir)/libpthread2_pic.a: $(libdir)/l mv $< $@ $(INSTALL_DATA) $(srcdir)/libpthread_pic.a $< -+$(includedir)/gnu/stubs-pthread.h: $(OBJS) ++install-stubs-pthread: stubs-pthread.h + mkdir -p $(includedir)/gnu ++ $(INSTALL_DATA) $< $(includedir)/gnu/stubs-pthread.h ++ ++stubs-pthread.h: $(OBJS) + $(OBJDUMP) -h $^ | \ + $(AWK) '/\.gnu\.glibc-stub\./ { \ + sub(/\.gnu\.glibc-stub\./, "", $$2); \ |