mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
Merge pull request #1174 from ryzhovau/bzip2_ldflags
bzip2: respect LDFLAGS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user