package/unixodbc: add optional dependency to libtool
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 4 Feb 2017 16:43:27 +0000 (17:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Feb 2017 22:55:20 +0000 (23:55 +0100)
commit0064b2fb749e309a24e5983f08204b85468fcab4
treee7c6f0aeb4d627a1e0c57d1906f6ff1550543b72
parentfbc5bdf8b95f15719efb4aa69fe2f9277d6fce57
package/unixodbc: add optional dependency to libtool

To get reproducible builds of unixodbc add libtool as optional
dependency.

Without libtool:

$ host/usr/bin/x86_64-linux-readelf -a target/usr/lib/libodbc.so.2.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

With libtool:

$ host/usr/bin/x86_64-linux-readelf -a target/usr/lib/libodbc.so.2.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libltdl.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/unixodbc/unixodbc.mk