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.
This commit is contained in:
Przemyslaw Czerpak
2009-09-01 12:02:24 +00:00
parent 9c0e0b8969
commit 5132b27bab
2 changed files with 6 additions and 0 deletions

View File

@@ -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.

View File

@@ -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