unrar: Properly pass LDFLAGS 4230/head
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 2 Apr 2017 18:32:19 +0000 (11:32 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 2 Apr 2017 18:32:19 +0000 (11:32 -0700)
commit6ecc58abcebe4e05b0e0933975182380c27bd7f9
tree084f877b1fd37f9661e03d281dfd3846dc95b466
parentc275bd2bf4697e765d9bc73773f52efbc0bc24d0
unrar: Properly pass LDFLAGS

External toolchains don't automatically have STAGING_DIR in their
default search path, so make sure we pass TARGET_LDFLAGS down. Since the
unrar makefile does not allow overriding, we also need to preserve the
original LDFLAGS which include lpthread.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
utils/unrar/Makefile