diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 1e8489a99..1d72c02ab 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -755,5 +755,6 @@ if [ $SRS_GPERF = YES ]; then ret=$?; if [[ $ret -ne 0 ]]; then echo "Build gperftools-2.1 failed, ret=$ret"; exit $ret; fi # Always update the links. (cd ${SRS_OBJS} && rm -rf pprof && ln -sf ${SRS_PLATFORM}/gperf/bin/pprof pprof) - if [ ! -f ${SRS_OBJS}/gperf/bin/pprof ]; then echo "Build gperftools-2.1 failed."; exit -1; fi + (cd ${SRS_OBJS} && rm -rf gperf && ln -sf ${SRS_PLATFORM}/gperftools-2.1/_release gperf) + if [ ! -f ${SRS_OBJS}/pprof ]; then echo "Build gperftools-2.1 failed."; exit -1; fi fi