From: Alexander Ryzhov Date: Thu, 23 Apr 2015 09:26:57 +0000 (+0000) Subject: bzip2: respect LDFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F1174%2Fhead;p=feed%2Fpackages.git bzip2: respect LDFLAGS Signed-off-by: Alexander Ryzhov --- diff --git a/utils/bzip2/Makefile b/utils/bzip2/Makefile index bf5bcf8227..493ccc9317 100644 --- a/utils/bzip2/Makefile +++ b/utils/bzip2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bzip2 PKG_VERSION:=1.0.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION) @@ -52,13 +52,15 @@ define Package/bzip2/description data compressor. This package provides the binary. endef -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += \ + $(FPIC) \ + $(TARGET_LDFLAGS) + CONFIGURE_ARGS += --prefix=/usr MAKE_FLAGS += \ -f Makefile-libbz2_so \ CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDLAGS)" \ all define Build/InstallDev