commit bdd603b61c0e3f2ea4db235f697cadefb30a9066
parent 2e5deb62636c58a810e085d5d22f3ad71b098cab
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date: Sun, 2 Apr 2017 20:39:30 +0200
Merge pull request #4230 from ffainelli/unrar
unrar: Properly pass LDFLAGS
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/utils/unrar/Makefile b/utils/unrar/Makefile
@@ -58,6 +58,9 @@ define Package/libunrar/description
archives
endef
+MAKE_FLAGS += \
+ LDFLAGS="$(TARGET_LDFLAGS) -lpthread"
+
ifeq ($(BUILD_VARIANT),lib)
define Build/Compile
$(call Build/Compile/Default,lib)