summaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-04-07 21:39:56 (GMT)
committerAlexey Neyman <stilor@att.net>2018-04-07 21:39:56 (GMT)
commit4e7d0906c1047516ab6517e3abd4a83cba98139d (patch)
treee3ca3eb2ac3d5590ae95724ae5e5a21cac174247 /ct-ng.in
parent7eb903667b59ac00d28e2ebad26e4b8c56bb0b84 (diff)
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 926ba71..2331b86 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