2010-11-10 18:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Adjusted the way Harbour dynlib is calculated for cygwin, after
making it a platform.
+ Added feedback when platform is redetected along compiler autodetection
process.
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-11-10 18:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Adjusted the way Harbour dynlib is calculated for cygwin, after
|
||||
making it a platform.
|
||||
+ Added feedback when platform is redetected along compiler autodetection
|
||||
process.
|
||||
|
||||
2010-11-10 19:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
|
||||
* harbour/contrib/hbzebra/codabar.c
|
||||
* harbour/contrib/hbzebra/code11.c
|
||||
|
||||
@@ -1617,6 +1617,7 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
|
||||
IF Len( aCOMPDET[ tmp ] ) >= _COMPDET_cCCPOSTFIX .AND. aCOMPDET[ tmp ][ _COMPDET_cCCPOSTFIX ] != NIL
|
||||
hbmk[ _HBMK_cCCPOSTFIX ] := aCOMPDET[ tmp ][ _COMPDET_cCCPOSTFIX ]
|
||||
ENDIF
|
||||
tmp1 := hbmk[ _HBMK_cPLAT ]
|
||||
IF Len( aCOMPDET[ tmp ] ) >= _COMPDET_cPLAT .AND. aCOMPDET[ tmp ][ _COMPDET_cPLAT ] != NIL
|
||||
hbmk[ _HBMK_cPLAT ] := aCOMPDET[ tmp ][ _COMPDET_cPLAT ]
|
||||
ENDIF
|
||||
@@ -1633,6 +1634,9 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
|
||||
hbmk[ _HBMK_cPLAT ] := "dos"
|
||||
ENDCASE
|
||||
ENDIF
|
||||
IF !( hbmk[ _HBMK_cPLAT ] == tmp1 ) .AND. hbmk[ _HBMK_lInfo ]
|
||||
hbmk_OutStd( hbmk, hb_StrFormat( I_( "Autodetected platform: %1$s (adjusted)" ), hbmk[ _HBMK_cPLAT ] ) )
|
||||
ENDIF
|
||||
EXIT
|
||||
ELSE
|
||||
IF hbmk[ _HBMK_lInfo ]
|
||||
@@ -3010,7 +3014,7 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
|
||||
#endif
|
||||
|
||||
DO CASE
|
||||
CASE HBMK_ISPLAT( "darwin|bsd|linux|hpux|beos|qnx|vxworks|sunos|cygwin" )
|
||||
CASE HBMK_ISPLAT( "darwin|bsd|linux|hpux|beos|qnx|vxworks|sunos" )
|
||||
IF Empty( cPrefix )
|
||||
l_aLIBSHARED := { iif( hbmk[ _HBMK_lMT ], "harbourmt" + cPostfix,;
|
||||
"harbour" + cPostfix ) }
|
||||
@@ -3389,6 +3393,8 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
|
||||
|
||||
IF hbmk[ _HBMK_cPLAT ] == "cygwin"
|
||||
l_aLIBSHAREDPOST := { "hbmainstd" }
|
||||
l_aLIBSHARED := { iif( hbmk[ _HBMK_lMT ], "harbourmt" + cDL_Version_Alter + hbmk_DYNSUFFIX( hbmk ),;
|
||||
"harbour" + cDL_Version_Alter + hbmk_DYNSUFFIX( hbmk ) ) }
|
||||
ENDIF
|
||||
|
||||
CASE ( hbmk[ _HBMK_cPLAT ] == "win" .AND. hbmk[ _HBMK_cCOMP ] == "gcc" ) .OR. ;
|
||||
|
||||
Reference in New Issue
Block a user