slang: fix linking issue
authorRomain Naour <romain.naour@openwide.fr>
Thu, 27 Mar 2014 23:06:32 +0000 (00:06 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 28 Mar 2014 08:54:41 +0000 (09:54 +0100)
commit32c0fbbcdec5e4fdf853cb566a83680a4d393b90
tree0824c69f524626651f9991c5cf88b1576dc2cee3
parent9cfd429c1c3d6c7b793f58210f39bb041e680bac
slang: fix linking issue

The installation location of the slang library
does not take into account the DESTDIR directory.
So SLANG_INST_LIB is initialized with -L/usr/lib/
and slang may be linked with host's libdl.so (if any)
Therefore, we have to pass correct installation paths.

Fixes:
http://autobuild.buildroot.net/results/df4/df435d9cebbdc84b3581ba258b618123570dde8b/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/slang/slang.mk