summaryrefslogtreecommitdiff
path: root/libthreads/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libthreads/Makefile')
-rw-r--r--libthreads/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index ee862366..e9fa571b 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1994,95,96,97,2000 Free Software Foundation, Inc.
+# Copyright (C) 1994,95,96,97,2000,2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -57,4 +57,9 @@ ifeq ($(VERSIONING),yes)
# where ld will read it as a linker script.
$(libname).so.$(hurd-version): $(srcdir)/$(libname).map
+lndist: lndist-map-file
+
+lndist-map-file: $(top_srcdir)/hurd-snap/$(dir)
+ ln $(addprefix $(srcdir)/,$(libname).map) $<
+
endif