qtuio: correct install-target/staging when Qt library type is 'static'
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Mon, 17 Feb 2014 09:51:03 +0000 (10:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Feb 2014 10:36:11 +0000 (11:36 +0100)
commit31d212b3e1d9539c6b2ed7aa92830fe5ff13b4f6
tree618329ee3e911932281a2a791b86040be670eb98
parent8e63d54e2ad7846f17f67079be8262f1deab7b7a
qtuio: correct install-target/staging when Qt library type is 'static'

If BR2_PACKAGE_QT_STATIC is set, qtuio will not build a .so file, but .a.
However, the custom INSTALL_TARGET_CMDS and INSTALL_STAGING_CMDS
unconditionally attempted to copy the .so file.

This commit checks the requested Qt library type and copies the right
library for each case, taking into account that the static .a file does not
need to be copied to the target directory.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qtuio/qtuio.mk