Browse Source

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>
lilik-openwrt-22.03
Florian Fainelli 8 years ago
parent
commit
6ecc58abce
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      utils/unrar/Makefile

+ 3
- 0
utils/unrar/Makefile View File

@ -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)


Loading…
Cancel
Save