diff options
author | Alexey Neyman <stilor@att.net> | 2018-10-16 00:02:18 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-10-16 00:02:18 -0700 |
commit | e697b4694aab48334ce3984e423157a4754bb6e2 (patch) | |
tree | 3749662ea46e8440f560f0ba225cdda3a84675fd /scripts/build/libc | |
parent | d19c46f8d5d10c9a15ea7022d2e2532911a67e3f (diff) | |
download | crosstool-ng-e697b4694aab48334ce3984e423157a4754bb6e2.tar.gz crosstool-ng-e697b4694aab48334ce3984e423157a4754bb6e2.tar.bz2 crosstool-ng-e697b4694aab48334ce3984e423157a4754bb6e2.zip |
Create glibc-ports symlink inside CT_SRC_DIR
... so that it works in both "bundled" and "bundled,local" cases.
Fixes #1060.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/glibc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index bc48ceee..125ccf74 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -23,8 +23,8 @@ do_libc_extract() { # we do not support concurrent use of the source directory # and next run, if using different glibc-ports source, will override # this symlink anyway. - CT_DoExecLog ALL ln -sf "${CT_GLIBC_PORTS_SRC_DIR}/${CT_GLIBC_PORTS_BASENAME}" \ - "${CT_GLIBC_SRC_DIR}/${CT_GLIBC_BASENAME}/ports" + CT_DoExecLog ALL ln -sf "${CT_SRC_DIR}/${CT_GLIBC_PORTS_DIR_NAME}" \ + "${CT_SRC_DIR}/${CT_GLIBC_DIR_NAME}/ports" fi } |