mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-26 00:55:59 +00:00
* Fix strip rpath install
This commit is contained in:
parent
ac66e096a6
commit
d9d4249eb2
@ -67,8 +67,8 @@ install-bins:
|
||||
@${INSTALL_DIR} ${PFX}/bin
|
||||
@for a in `find */t -perm -u+x -type f | grep 2`; \
|
||||
do echo "$$a ${PFX}/bin"; \
|
||||
./bin/t/rpathdel $$a $$a ; \
|
||||
${INSTALL_PROGRAM} $$a ${PFX}/bin ; \
|
||||
${INSTALL_PROGRAM} $$a ${PFX}/bin ; \
|
||||
./bin/t/rpathdel ${PFX}/bin/`basename $$a` ; \
|
||||
done
|
||||
# shortcut
|
||||
-cd ${PFX}/bin && rm -f r2 ; ln -fs radare2 r2
|
||||
@ -78,14 +78,19 @@ install-test-bins:
|
||||
@${INSTALL_DIR} ${PFX}/lib/radare2/test
|
||||
@for a in `find */t -perm -u+x -type f | grep -v 2`; \
|
||||
do echo "$$a ${PFX}/lib/radare2/test" ; \
|
||||
${INSTALL_PROGRAM} $$a ${PFX}/lib/radare2/test ; done
|
||||
${INSTALL_PROGRAM} $$a ${PFX}/lib/radare2/test ; \
|
||||
./bin/t/rpathdel ${PFX}/lib/radare2/test`basename $$a` ; \
|
||||
done
|
||||
|
||||
install: install-includes install-pkgconfig install-bins install-test-bins
|
||||
# TODO :Use INSTALL_DATA_DIR instead of mkdir
|
||||
# libraries
|
||||
@${INSTALL_DIR} ${PFX}/lib
|
||||
@for a in `find * | grep -e '\.${EXT_SO}$$' | grep -v lib/t | grep lib` ; do \
|
||||
echo "$$a ${PFX}/lib"; ${INSTALL_DATA} $$a ${PFX}/lib ; done
|
||||
echo "$$a ${PFX}/lib"; \
|
||||
${INSTALL_DATA} $$a ${PFX}/lib ; \
|
||||
./bin/t/rpathdel ${PFX}/lib/`basename $$a` ; \
|
||||
done
|
||||
# object archives
|
||||
@for a in `find * | grep -e '\.a$$'` ; do \
|
||||
echo "$$a ${PFX}/lib"; ${INSTALL_DATA} $$a ${PFX}/lib ; done
|
||||
|
Loading…
x
Reference in New Issue
Block a user