From 1ee4cd208f7283c3c932b8fa4f94f2de27116ac1 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 3 Feb 2016 13:27:16 +0200 Subject: perl: use relocatable path in the wrapper Instead of using $OECORE_NATIVE_SYSROOT environment variable, that require sourcing the environment-setup-xxx script, use the SDKPATHNATIVE path that gets relocated during sdk installation. Change-Id: Ife7f84b3bb92d1492e96e9a65fd9cec4555aaecc Reviewed-by: Teemu Holappa --- recipes/perl/perl_5.%.bbappend | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes/perl/perl_5.%.bbappend diff --git a/recipes/perl/perl_5.%.bbappend b/recipes/perl/perl_5.%.bbappend new file mode 100644 index 0000000..22ce2a8 --- /dev/null +++ b/recipes/perl/perl_5.%.bbappend @@ -0,0 +1,24 @@ +############################################################################## +## +## Copyright (C) 2015 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:COMM$ +## +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## $QT_END_LICENSE$ +## +############################################################################## + +do_install_append_class-nativesdk () { + sed -i -e 's|$OECORE_NATIVE_SYSROOT/|${SDKPATHNATIVE}|g' ${D}${bindir}/perl +} -- cgit v1.2.3-54-g00ecf