@ -723,11 +723,11 @@ install-with-libs: install
i f n e q ( $( LDD ) , n o )
i f n e q ( $( LDD ) , n o )
i f n e q ( $( PATCHELF ) , n o )
i f n e q ( $( PATCHELF ) , n o )
# this sort of assumes Linux
# this sort of assumes Linux
# figure out where libgmp and libmpfr are using ldd
# figure out where libgmp , libmpfr, and libsqlite3 are using ldd
set -x; \
set -x; \
for lib in $$ ( $( LDD) $( INFER_BIN) \
for lib in $$ ( $( LDD) $( INFER_BIN) \
| cut -d ' ' -f 3 \
| cut -d ' ' -f 3 \
| grep -e 'lib\(gmp\|mpfr\ )') ; do \
| grep -e 'lib\(gmp\|mpfr\ |sqlite\ )') ; do \
$( INSTALL_PROGRAM) -C " $$ lib " '$(DESTDIR)$(libdir)' /infer/infer/libso/; \
$( INSTALL_PROGRAM) -C " $$ lib " '$(DESTDIR)$(libdir)' /infer/infer/libso/; \
done
done
# update rpath of executables
# update rpath of executables
@ -745,12 +745,12 @@ else # ldd not found
i f n e q ( $( OTOOL ) , n o )
i f n e q ( $( OTOOL ) , n o )
i f n e q ( $( INSTALL_NAME_TOOL ) , n o )
i f n e q ( $( INSTALL_NAME_TOOL ) , n o )
# this sort of assumes osx
# this sort of assumes osx
# figure out where libgmp and libmpfr are using otool
# figure out where libgmp , libmpfr, and libsqlite3 are using otool
set -e; \
set -e; \
set -x; \
set -x; \
for lib in $$ ( $( OTOOL) -L $( INFER_BIN) \
for lib in $$ ( $( OTOOL) -L $( INFER_BIN) \
| cut -d ' ' -f 1 | tr -d '\t' \
| cut -d ' ' -f 1 | tr -d '\t' \
| grep -e 'lib\(gmp\|mpfr\ )') ; do \
| grep -e 'lib\(gmp\|mpfr\ |sqlite\ )') ; do \
$( INSTALL_PROGRAM) -C " $$ lib " '$(DESTDIR)$(libdir)' /infer/infer/libso/; \
$( INSTALL_PROGRAM) -C " $$ lib " '$(DESTDIR)$(libdir)' /infer/infer/libso/; \
done
done
set -x; \
set -x; \