diff options
Diffstat (limited to 'package/Makefile.in')
-rw-r--r-- | package/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index b94b5bc25..92f68b6f8 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -188,7 +188,7 @@ BISON:=$(shell which bison || type -p bison) HOST_CFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include HOST_CXXFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include HOST_LDFLAGS += -L$(HOST_DIR)/lib -L$(HOST_DIR)/usr/lib - +HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH) # hostcc version as an integer - E.G. 4.3.2 => 432 HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \ @@ -261,7 +261,7 @@ TARGET_CONFIGURE_ENV=\ LDFLAGS="$(TARGET_LDFLAGS)" \ FCFLAGS="$(TARGET_FCFLAGS)" \ -HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ +HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \ AR="$(HOSTAR)" \ AS="$(HOSTAS)" \ LD="$(HOSTLD) $(HOST_LDFLAGS)" \ @@ -299,6 +299,8 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \ PKG_CONFIG_PATH="$(HOST_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" +HOST_MAKE_ENV=PATH=$(HOST_PATH) + ####################################################################### # settings we need to pass to configure |