From 5132b27bab6d308a598be60efacdcf79f1774b5d Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 1 Sep 2009 12:02:24 +0000 Subject: [PATCH] 2009-09-01 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! fixed MinGW prefix detection in some cross installations, i.e. Debian ones. --- harbour/ChangeLog | 5 +++++ harbour/config/global.mk | 1 + 2 files changed, 6 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a922b2ab68..6e4f66f025 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-09-01 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/config/global.mk + ! fixed MinGW prefix detection in some cross installations, i.e. + Debian ones. + 2009-09-01 11:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! added sock_init()/sock_exit() calls to DOS builds. diff --git a/harbour/config/global.mk b/harbour/config/global.mk index af73c242d1..a9fa54dfbf 100644 --- a/harbour/config/global.mk +++ b/harbour/config/global.mk @@ -572,6 +572,7 @@ ifeq ($(HB_COMPILER),) MINGW_BASE_LIST := /usr /usr/local /usr/local/mingw32 /opt/xmingw MINGW_PREFIX := $(firstword $(foreach d, $(MINGW_BASE_LIST), $(wildcard $(d)/bin/i?86-mingw*-gcc$(HB_HOST_BIN_EXT)))) ifneq ($(MINGW_PREFIX),) + MINGW_PREFIX := $(MINGW_PREFIX:gcc$(HB_HOST_BIN_EXT)=) HB_CCPATH := $(dir $(MINGW_PREFIX)) HB_CCPREFIX := $(notdir $(MINGW_PREFIX)) else