mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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>
This commit is contained in:
@@ -58,6 +58,9 @@ define Package/libunrar/description
|
|||||||
archives
|
archives
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
MAKE_FLAGS += \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS) -lpthread"
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),lib)
|
ifeq ($(BUILD_VARIANT),lib)
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,lib)
|
$(call Build/Compile/Default,lib)
|
||||||
|
|||||||
Reference in New Issue
Block a user