ln -f -s doesn't always work, so do a rm -f followed by a ln -s.
Part of PR 181
This commit is contained in:
parent
6297bcd74c
commit
ba25198517
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ link-shared:
|
||||||
for i in $(SHLIBDIRS); do \
|
for i in $(SHLIBDIRS); do \
|
||||||
prev=lib$$i$(SHLIB_EXT); \
|
prev=lib$$i$(SHLIB_EXT); \
|
||||||
for j in $${tmp:-x}; do \
|
for j in $${tmp:-x}; do \
|
||||||
( set -x; ln -f -s $$prev lib$$i$$j ); \
|
( set -x; \
|
||||||
|
rm -f lib$$i$$j; ln -s $$prev lib$$i$$j ); \
|
||||||
prev=lib$$i$$j; \
|
prev=lib$$i$$j; \
|
||||||
done; \
|
done; \
|
||||||
done; \
|
done; \
|
||||||
|
|
Loading…
Reference in a new issue