Revision 4f092ab6

View differences:

build_ul.sh
58 58
	#try to find libbz2 in your system
59 59
	LOCAL_BZ2_A=/usr/lib/libbz2.a
60 60
	if [ ! -e $LOCAL_BZ2_A ]; then
61
		LOCAL_BZ2_A=`locate -l 1 libbz2.a`
62 61
		[ X$LOCAL_BZ2_A != X ] && LOCAL_BZ2=`dirname $LOCAL_BZ2_A`/..
63 62
		if [ ! -e "$LOCAL_BZ2/lib/libbz2.a" ]; then
64 63
			#wrong location and/or folders structure
......
511 510
	LOCAL_EVENT="$BASE_UL_DIR/../../3RDPARTY-LIBS/libevent"
512 511
	echo "found LIBEVENT in $LOCAL_EVENT"
513 512
else
514
	LOCAL_EVENT_A=`locate -l 1 libevent.a`
515 513
	if [ "$LOCAL_EVENT_A" = "" ]; then
516 514
		if [ -f "/usr/lib/libevent.a" ]; then
517 515
			echo "You have file libevent.a in default system"
......
530 528
	LOCAL_CONFUSE="$BASE_UL_DIR/../../3RDPARTY-LIBS/libconfuse"
531 529
	echo "found LIBCONFUSE in $LOCAL_CONFUSE"
532 530
else
533
	LOCAL_CONFUSE_A=`locate -l 1 libconfuse.a`
534 531
	if [ "$LOCAL_CONFUSE_A" = "" ]; then
535 532
		if [ -f "/usr/lib/libconfuse.a" ]; then
536 533
			echo "You have file libconfuse.a in default system"

Also available in: Unified diff