summaryrefslogtreecommitdiffstats
path: root/package/uclibc
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-02-10 11:17:58 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-12 14:50:56 +0100
commitbb1324288a38f30d42190b9d8b254ef084a3691c (patch)
tree4118088e6c34494f80a1eca0f3adc043c594971e /package/uclibc
parent25043d8a311fc1425fb392d7716a42a0a4cec9e6 (diff)
downloadbuildroot-bb1324288a38f30d42190b9d8b254ef084a3691c.tar.gz
buildroot-bb1324288a38f30d42190b9d8b254ef084a3691c.zip
uclibc: fix testsuite
Unless the tests are built with TEST_INSTALLED_UCLIBC their rpath will point to the build directory rather than runtime directory, resulting in non-executable tests for the target. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/uclibc')
-rw-r--r--package/uclibc/uclibc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 773b22a159..200de043e4 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -386,6 +386,7 @@ ifeq ($(BR2_UCLIBC_INSTALL_TEST_SUITE),y)
define UCLIBC_BUILD_TEST_SUITE
$(MAKE1) -C $(@D) \
$(UCLIBC_MAKE_FLAGS) \
+ TEST_INSTALLED_UCLIBC=1 \
UCLIBC_ONLY=1 \
test_compile
endef
OpenPOWER on IntegriCloud