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 | |
parent | 7322fe161a5c241628830bea9a5043fd08e0bd65 (diff) | |
download | openwrt-7557afa9a5810183ef85247dca97a3530abe0548.tar.gz openwrt-7557afa9a5810183ef85247dca97a3530abe0548.tar.bz2 openwrt-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
-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 |