mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-21 05:05:48 +00:00
Fix recursive symlink issue in make symstall
This commit is contained in:
parent
8201fb3e3a
commit
a7da6118f0
@ -94,7 +94,8 @@ symstall install-symlink:
|
||||
rm -rf "${IFX}/libr" && ln -fs "${PWD}/include" "${IFX}/libr"
|
||||
cd ../pkgcfg && for a in *.pc ; do \
|
||||
if [ -e "${PWD}/../pkgcfg/$${a}" ] ; then \
|
||||
ln -fs "${PWD}/../pkgcfg/$${a}" "${LFX}/pkgconfig/$${a}" ; \
|
||||
ln -fs "${PWD}/../pkgcfg/$${a}" \
|
||||
"${LFX}/pkgconfig/$${a}" ; \
|
||||
fi ; \
|
||||
done
|
||||
@$(foreach lib,${LIBS}, \
|
||||
@ -106,8 +107,8 @@ symstall install-symlink:
|
||||
$(foreach module,$(wildcard $(lib)/p/*.${EXT_SO}), \
|
||||
ln -fs "${PWD}/$(module)" "${LFX}/radare2/${VERSION}/" ; \
|
||||
) \
|
||||
( cd "${LFX}/radare2" ; ln -fs "${VERSION}" last ) ; \
|
||||
)
|
||||
cd "${LFX}/radare2" ; rm -f last ; ln -fs "${VERSION}" last
|
||||
|
||||
install: install-includes install-pkgconfig
|
||||
# TODO :Use INSTALL_DATA_DIR instead of mkdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user