]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: Work around dev symlink problems on darwin
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2013 10:24:57 +0000 (10:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2013 17:30:07 +0000 (18:30 +0100)
commit51c3dbe2df45096bbd7866adabb08e114952ff13
tree4a87ac8eb046efa4a9c9b9d556f6545ff6621350
parentb1449f6e5be13a8c58bf38302236091d046f0215
bitbake.conf: Work around dev symlink problems on darwin

On darwin, we have:

libxxx.dylib -> libxxx.Y.dylib

compared to Linux which has:

libxxx.so -> libxxx.so.Y

Our ordering of PACKAGES with -dev first and then ${PN} makes it impossible to
match the files correctly using simple globbing. This makes darwin targets
completely broken since both the libs and the dev symlinks end up in ${PN}-dev.

Whilst this commit is a hack, it at least puts the files into ${PN} and allows the
builds to be used. Symlinks don't take up much space so this isn't the end of
the world. I'm open to better solutions to this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf