mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-22 23:31:26 +00:00
* Fix install-perl in swig/
* Run make clean before make mrproper
This commit is contained in:
parent
3131a9a7cf
commit
b58a0bac89
6
build.sh
6
build.sh
@ -222,7 +222,8 @@ else
|
||||
fi
|
||||
|
||||
if [ -e "config-user.mk" ]; then
|
||||
log "[==] Running mrproper..."
|
||||
log "[==] Running clean and mrproper..."
|
||||
${MAKE} clean 2>&1 > /dev/null
|
||||
${MAKE} mrproper 2>&1 > /dev/null
|
||||
fi
|
||||
|
||||
@ -293,7 +294,8 @@ done
|
||||
if [ -n "$cc" ]; then
|
||||
log "[==] mingw32 build using $cc"
|
||||
if [ -e "config-user.mk" ]; then
|
||||
${MAKE} ${MAKEFLAGS} mrproper 2>&1 >/dev/null
|
||||
${MAKE} clean 2>&1 > /dev/null
|
||||
${MAKE} mrproper 2>&1 >/dev/null
|
||||
fi
|
||||
log "[==] mingw32 configure"
|
||||
logcmd ./configure --without-gmp --with-ostype=windows --with-compiler=$cc --host=i586-unknown-windows
|
||||
|
@ -78,7 +78,7 @@ install-ruby:
|
||||
|
||||
install-perl:
|
||||
@if [ "`grep perl supported.langs`" ]; then \
|
||||
target=${DESTDIR}`perl -e 'for (@INC) { print "$$_\n" if /lib\/perl5/ && !/local/; }'` ; \
|
||||
target=${DESTDIR}`perl -e 'for (@INC) { print "$$_\n" if /lib\/perl5/ && !/local/; }'|head -n 1` ; \
|
||||
mkdir -p $$target/r2 ; \
|
||||
echo "Installing perl r2 modules..." ; \
|
||||
cp -rf perl/*.so $$target/r2 ; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user