diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/talloc/talloc_2.0.1.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb index 9cf3e4322..7bbfbc291 100644 --- a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb +++ b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb | |||
@@ -23,7 +23,15 @@ DEPENDS += "swig-native" | |||
23 | do_install_prepend() { | 23 | do_install_prepend() { |
24 | # Hack the way swig interface for talloc is installed | 24 | # Hack the way swig interface for talloc is installed |
25 | # This hack is accompanied by install-swig-interface-in-SWINGLIBDIR.patch | 25 | # This hack is accompanied by install-swig-interface-in-SWINGLIBDIR.patch |
26 | type swig > /dev/null 2>&1 && SWIGLIBDIR=`swig -swiglib` && SWIGLIBDIR=`readlink -f ${SWIGLIBDIR}` && SWIGLIBDIR=${SWIGLIBDIR##${STAGING_DIR_NATIVE}} && export SWIGLIBDIR || echo "No swig found" | 26 | if which swig > /dev/null; then |
27 | SWIGLIBDIR="$(echo $(readlink -f $(swig -swiglib)) | \ | ||
28 | sed -e 's#^${STAGING_DIR_NATIVE}##')" | ||
29 | fi | ||
30 | if [ -n "$SWIGLIBDIR" ]; then | ||
31 | export SWIGLIBDIR | ||
32 | else | ||
33 | echo "No swig found" | ||
34 | fi | ||
27 | } | 35 | } |
28 | 36 | ||
29 | do_install_append() { | 37 | do_install_append() { |