summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-14 22:20:30 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-14 22:20:30 +0000
commit4ce65a37c4da0ddbc8c7428dbbb16d4743d480b7 (patch)
tree13fa8a9b36acefc3795f5f8aebd48d4843a33d50 /meta
parentca0f459c950823cbf4944132d0082d1feda7c4f4 (diff)
downloadopenembedded-core-4ce65a37c4da0ddbc8c7428dbbb16d4743d480b7.tar.gz
openembedded-core-4ce65a37c4da0ddbc8c7428dbbb16d4743d480b7.tar.bz2
openembedded-core-4ce65a37c4da0ddbc8c7428dbbb16d4743d480b7.tar.xz
openembedded-core-4ce65a37c4da0ddbc8c7428dbbb16d4743d480b7.zip
bluez-utils: libtool 2.2.2 puts files in different places, workaround...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4257 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/bluez/bluez-utils.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/packages/bluez/bluez-utils.inc b/meta/packages/bluez/bluez-utils.inc
index 3f9076870..39b8b39a0 100644
--- a/meta/packages/bluez/bluez-utils.inc
+++ b/meta/packages/bluez/bluez-utils.inc
@@ -29,7 +29,12 @@ do_install_append() {
rmdir ${D}${bindir} ${D}${sbindir}
chmod u+s ${D}${base_sbindir}/hciattach ${D}${base_sbindir}/hciconfig
install -m 0644 ${WORKDIR}/hcid.conf ${D}${sysconfdir}/bluetooth/
- install -m 0755 ${S}/daemon/.libs/passkey-agent ${D}${base_bindir}/
+ # libtool 2.2.2 doesn't put this in a .libs directory
+ if [ -e ${S}/daemon/.libs/passkey-agent ]; then
+ install -m 0755 ${S}/daemon/.libs/passkey-agent ${D}${base_bindir}/
+ else
+ install -m 0755 ${S}/daemon/passkey-agent ${D}${base_bindir}/
+ fi
}
PACKAGES =+ "${PN}-alsa ${PN}-alsa-dev gst-plugin-bluez gst-plugin-bluez-dbg"