From 74fab61b32c8c4be9e955ca914708d77011bf1dd Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Wed, 2 Dec 2009 21:37:15 +0100 Subject: [PATCH] explicitly pass include- and linking-paths for libiconv and libintl --- ncmpc/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ncmpc/Makefile b/ncmpc/Makefile index 96edd7f..46fef70 100644 --- a/ncmpc/Makefile +++ b/ncmpc/Makefile @@ -20,6 +20,15 @@ PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +TARGET_CFLAGS+= \ + -I$(STAGING_DIR)/usr/lib/libintl/include \ + -I$(STAGING_DIR)/usr/libiconv/include + +TARGET_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(STAGING_DIR)/usr/lib/libintl/lib \ + -L$(STAGING_DIR)/usr/lib/libiconv/lib + define Package/ncmpc TITLE:=ncmpc SECTION:=sound