diff options
author | John Crispin <john@openwrt.org> | 2014-10-20 06:29:21 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-20 06:29:21 +0000 |
commit | 7557afa9a5810183ef85247dca97a3530abe0548 (patch) | |
tree | 7d83e37bee6220ca0c4a67b34037266774784885 /rules.mk | |
parent | 7322fe161a5c241628830bea9a5043fd08e0bd65 (diff) | |
download | upstream-7557afa9a5810183ef85247dca97a3530abe0548.tar.gz upstream-7557afa9a5810183ef85247dca97a3530abe0548.tar.bz2 upstream-7557afa9a5810183ef85247dca97a3530abe0548.zip |
build: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42987
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -187,9 +187,9 @@ export PKG_CONFIG HOSTCC:=gcc HOSTCXX:=g++ -HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include +HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include -I$(STAGING_DIR_HOST)/usr/include HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS) -HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib +HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib -L$(STAGING_DIR_HOST)/usr/lib TARGET_CC:=$(TARGET_CROSS)gcc TARGET_AR:=$(TARGET_CROSS)ar |