dropwatch: fix static link
authorBaruch Siach <baruch@tkos.co.il>
Fri, 30 Jun 2017 04:48:34 +0000 (07:48 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Jul 2017 10:42:06 +0000 (12:42 +0200)
commit8934cb079545d50f5060b94c66a8fd6ec517f4bd
tree8b89a1c840caaad3fc1ce6adf15b44c95118f5f5
parenteaa3d0e2920b4597aa6c8a1e4cf217f0cb7fdf2c
dropwatch: fix static link

Use LDLIBS for the list of libraries, since LDFLAGS appear before the source
files in the link command, and the upstream LDLIBS lacks -lncurses which is a
dependency of readline. We already pass target LDFLAGS in
TARGET_CONFIGURE_OPTS, so drop that part.

Fixes:
http://autobuild.buildroot.net/results/ce4/ce436bdd7e7950c801edac01f311b89110d87d62/
http://autobuild.buildroot.net/results/691/691d61d13849150c3616b1c74c964f50118ff1d9/
http://autobuild.buildroot.net/results/291/2918c75e473c5a2434e72f2e409becc5b4d07908/

Cc: Tzu-Jung Lee <roylee17@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dropwatch/dropwatch.mk