aboutsummaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-04-07 14:39:56 -0700
committerAlexey Neyman <stilor@att.net>2018-04-07 14:39:56 -0700
commit4e7d0906c1047516ab6517e3abd4a83cba98139d (patch)
treee3ca3eb2ac3d5590ae95724ae5e5a21cac174247 /ct-ng.in
parent7eb903667b59ac00d28e2ebad26e4b8c56bb0b84 (diff)
downloadcrosstool-ng-4e7d0906c1047516ab6517e3abd4a83cba98139d.tar.gz
crosstool-ng-4e7d0906c1047516ab6517e3abd4a83cba98139d.tar.bz2
crosstool-ng-4e7d0906c1047516ab6517e3abd4a83cba98139d.zip
Support out-of-tree local builds
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'ct-ng.in')
-rw-r--r--ct-ng.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 926ba710..2331b868 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -17,7 +17,7 @@ export CT_TOP_DIR:=$(shell pwd)
ifeq (@enable_local@,yes)
# automake does not allow to set pkgxxxdir, they are always derived from
# a respective xxxdir. So, for enable-local case, set them directly here.
-export CT_LIB_DIR:=$(CT_TOP_DIR)
+export CT_LIB_DIR:=$(shell cd "@srcdir@" && pwd)
export CT_LIBEXEC_DIR:=$(CT_TOP_DIR)/kconfig
export CT_DOC_DIR:=$(CT_TOP_DIR)/docs
else