Unverified Commit 90b591e1 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #937 from llhe/support_find_bin_with_symlink

Support symlink for config find_bin
parents 03abe768 926b7c3b
...@@ -117,7 +117,7 @@ find_dir_of_lib_or_die() { ...@@ -117,7 +117,7 @@ find_dir_of_lib_or_die() {
} }
find_bin() { 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 if [ ! -z "$TARGET_BIN" ]; then
$ECHO $TARGET_BIN $ECHO $TARGET_BIN
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment