diff --git a/config_brpc.sh b/config_brpc.sh index f53d2aa28767d5be9e3669fbfb04d75cba39babe..52bad4fd756986e7b3d678b15cfcba866b0ae968 100755 --- a/config_brpc.sh +++ b/config_brpc.sh @@ -117,7 +117,7 @@ find_dir_of_lib_or_die() { } find_bin() { - TARGET_BIN=$(find ${LIBS_IN} -type f -name "$1" 2>/dev/null | head -n1) + TARGET_BIN=$(find -L ${LIBS_IN} -type f -name "$1" 2>/dev/null | head -n1) if [ ! -z "$TARGET_BIN" ]; then $ECHO $TARGET_BIN else