mirror of https://github.com/cosmo-ray/yirl.git
build: don't remove libpcre
Signed-off-by: matthias gatto <uso.cosmo.ray@gmail.com>
This commit is contained in:
parent
17356ea760
commit
235fa5688d
|
@ -4,7 +4,7 @@ mkdir $2
|
|||
ls -l
|
||||
export LD_LIBRARY_PATH=./
|
||||
ldd $1 | grep '=>' | cut -d ' ' -f 3
|
||||
cp -v $( ldd $1 | grep '=>' | cut -d ' ' -f 3 | grep -v -e libm.so -e libc.so -e libdl.so.2 -e ld-linux-x86-64.so.2 -e libpthread.so.0 -e librt.so -e libpcre.so) $2/
|
||||
cp -v $( ldd $1 | grep '=>' | cut -d ' ' -f 3 | grep -v -e libm.so -e libc.so -e libdl.so.2 -e ld-linux-x86-64.so.2 -e libpthread.so.0 -e librt.so) $2/
|
||||
echo '#!/bin/bash' >> $2/$NAME.sh
|
||||
echo 'dir=$( dirname "$0" )' >> $2/$NAME.sh
|
||||
echo "LD_LIBRARY_PATH=\$dir \$dir/$NAME \$@" >> $2/$NAME.sh
|
||||
|
|
Loading…
Reference in New Issue