mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 00:05:10 +00:00
* Build
- symstall pkgconfig - Fix symstallation of plugins
This commit is contained in:
parent
414f5a38bc
commit
5751019088
@ -65,13 +65,21 @@ install-includes:
|
||||
install-symlink:
|
||||
mkdir -p ${PFX}/bin
|
||||
mkdir -p ${PFX}/include
|
||||
mkdir -p ${PFX}/lib/pkgconfig
|
||||
mkdir -p ${PFX}/lib/radare2
|
||||
ln -fs ${PWD}/include ${PFX}/include/libr
|
||||
rm -f ${PFX}/include/libr && ln -fs ${PWD}/include ${PFX}/include/libr
|
||||
cd ../pkgcfg && for a in *.pc ; do \
|
||||
if [ -e ${PWD}/../pkgcfg/$${a} ] ; then \
|
||||
ln -fs ${PWD}/../pkgcfg/$${a} ${PFX}/lib/pkgconfig/$${a} ; \
|
||||
fi ; \
|
||||
done
|
||||
for a in ${LIBLIST} ; do \
|
||||
ln -fs ${PWD}/$${a}/libr_$${a}.${EXT_SO} ${PFX}/lib/libr_$${a}.${EXT_SO} ; \
|
||||
ln -fs ${PWD}/$${a}/libr_$${a}.${EXT_AR} ${PFX}/lib/libr_$${a}.${EXT_AR} ; \
|
||||
for b in $${a}/p/*.${EXT_SO} ; do \
|
||||
ln -fs ${PWD}/$${b} ${PFX}/lib/radare2/ ; \
|
||||
if [ -e ${PWD}/$${b} ] ; then \
|
||||
ln -fs ${PWD}/$${b} ${PFX}/lib/radare2/ ; \
|
||||
fi ; \
|
||||
done ; \
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user