From 3ed11b8a5571bd256494a647c97cb79ff2ca7d76 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 3 Sep 2007 05:00:38 +0000 Subject: use $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) instead of full -I... & -L... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8578 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ncurses/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/ncurses') diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index d9fc45a718..ba0da00cd7 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -80,8 +80,8 @@ define Build/Compile (cd $(PKG_BUILD_DIR); rm -f config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ -- cgit v1.2.3