polachok's projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0083e92
)
thread libs: migrate the libpthread.* symlinks on upgrade
author
Simon Schubert <simon.schubert@epfl.ch>
Wed, 7 Oct 2009 18:26:05 +0000 (20:26 +0200)
committer
Simon Schubert <simon.schubert@epfl.ch>
Wed, 7 Oct 2009 18:26:05 +0000 (20:26 +0200)
etc/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/etc/Makefile
b/etc/Makefile
index
ae55dee
..
f202906
100644
(file)
--- a/
etc/Makefile
+++ b/
etc/Makefile
@@
-230,6
+230,14
@@
upgrade_etc: preupgrade remove-obsolete-files
rm -rf ${DESTDIR}/boot/modules.old/modules.old
.endif
.endif
+ for ext in a so.0; do \
+ f=${DESTDIR}/usr/lib/libpthread.$$ext; \
+ dest=$$(readlink "$$f"); \
+ case "$$dest" in \
+ libthread_xu.*|libc_r.*) \
+ ln -fs thread/$$dest $$f ;; \
+ esac; \
+ done
ldconfig -R
mkdir -p ${DESTDIR}/dev