i2c-tools: fix missing runtime library
authorBaruch Siach <baruch@tkos.co.il>
Sun, 31 Dec 2017 13:25:45 +0000 (15:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 31 Dec 2017 16:13:30 +0000 (17:13 +0100)
commitf7bf37b65245059232a3e6c6c2ad37aab9c6962d
tree69651faea14b0aab6521189f5da07f89335598b4
parent9aaec9767663ff111b8efa4f5968277d58bfcee9
i2c-tools: fix missing runtime library

When building with dynamic library support, i2c-tools utilities are
linked against the libi2c.so library. Current i2c-tools install commands
don't take this into account, which leads to the following run-time
error:

eeprog: error while loading shared libraries: libi2c.so.0: cannot open shared object file: No such file or directory

Use the native install target to fix that.

Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/i2c-tools/i2c-tools.mk