From c58e11d67f6b3924b47364e8d2b273bc2bb5d5e5 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 28 Apr 2010 01:39:26 +0000 Subject: [PATCH] [packages] libdlna: fix build failure introduced by [21056], restore fix from [12678] (closes: #7200, #7206) SVN-Revision: 21215 --- libs/libdlna/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/libdlna/Makefile b/libs/libdlna/Makefile index a2b6989a8b..a805dd753b 100644 --- a/libs/libdlna/Makefile +++ b/libs/libdlna/Makefile @@ -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 -- 2.30.2