2009-08-15 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Minor fix for darwin and automatic entry function detection using 'nm'.
nm on Darwin doesn't seem to support '--defined-only -C' option.
Przemek, please check this, maybe this hurts functionality.
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-08-15 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Minor fix for darwin and automatic entry function detection using 'nm'.
|
||||
nm on Darwin doesn't seem to support '--defined-only -C' option.
|
||||
Przemek, please check this, maybe this hurts functionality.
|
||||
|
||||
2009-08-15 11:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* make_gnu_xmingw.sh
|
||||
* make_gnu_xmingwce.sh
|
||||
|
||||
@@ -5644,7 +5644,7 @@ STATIC FUNCTION getFirstFunc( hbmk, cFile )
|
||||
NEXT
|
||||
ELSEIF ! Empty( cExecNM := FindInPath( hbmk[ _HBMK_cCCPREFIX ] + "nm" ) )
|
||||
cFuncList := ""
|
||||
hb_processRun( cExecNM + " " + cFile + " -g -n --defined-only -C",, @cFuncList )
|
||||
hb_processRun( cExecNM + " " + cFile + " -g -n" + iif( hbmk[ _HBMK_cCOMP ] == "darwin", "", " --defined-only -C" ),, @cFuncList )
|
||||
IF ( n := At( " T HB_FUN_", cFuncList ) ) != 0
|
||||
n += 10
|
||||
DO WHILE ( c := SubStr( cFuncList, n++, 1 ) ) == "_" .OR. ;
|
||||
|
||||
Reference in New Issue
Block a user