[packages] libdlna: fix build failure introduced by [21056], restore fix from [12678] (closes: #7200, #7206)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21215 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1e475402c5
commit
1f6bc21377
@ -39,7 +39,7 @@ define Build/Configure
|
||||
# this is *NOT* GNU configure
|
||||
( cd $(PKG_BUILD_DIR); \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -lpthread -lz" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link=$(STAGING_DIR)/usr/lib" \
|
||||
HOST_CC="$(HOSTCC)" \
|
||||
./configure \
|
||||
--cross-compile \
|
||||
@ -53,6 +53,11 @@ define Build/Configure
|
||||
)
|
||||
endef
|
||||
|
||||
# XXX: fix build on systems where install is not at its usual location
|
||||
# INSTALL defaults to /usr/bin/install
|
||||
MAKE_INSTALL_FLAGS += \
|
||||
INSTALL="install" \
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
|
||||
define Build/InstallDev
|
||||
|
Loading…
x
Reference in New Issue
Block a user