Skip to content

Commit 1de8934

Browse files
authored
Merge pull request #28861 from xiaobai/ded-code
[build] Remove make_relative_symlink from build-script-impl
2 parents a50b940 + a6fd37e commit 1de8934

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

utils/build-script-impl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -922,14 +922,6 @@ function cmake_needs_to_specify_standard_computed_defaults() {
922922
fi
923923
}
924924

925-
function make_relative_symlink() {
926-
local SOURCE=$1
927-
local TARGET=$2
928-
local TARGET_DIR=$(dirname "$2")
929-
local RELATIVE_SOURCE=$(python -c "import os.path; print(os.path.relpath(\"${SOURCE}\", \"${TARGET_DIR}\"))")
930-
call ln -sf "${RELATIVE_SOURCE}" "${TARGET}"
931-
}
932-
933925
# Sanitize the list of cross-compilation targets.
934926
#
935927
# In the Build/Host/Target paradigm:

0 commit comments

Comments
 (0)