2022-10-23 11:30 UTC-0300 Lailton Fernando Mariano (lailton/at/harbour.page)
* config/global.mk
+ add auto detect cpu arm64
* config/darwin/global.mk
* utils/hbmk2
! fix build dylibs with VM builtin to Darwin ( Mac OS )
This commit is contained in:
@@ -4123,7 +4123,7 @@ STATIC FUNCTION __hbmk( aArgs, nArgTarget, nLevel, /* @ */ lPause, /* @ */ lExit
|
||||
AAddNotEmpty( hbmk[ _HBMK_aOPTCPPX ], gcc_opt_lngcpp_fill( hbmk ) )
|
||||
cBin_Dyn := cBin_CompC
|
||||
IF hbmk[ _HBMK_cPLAT ] == "darwin"
|
||||
cOpt_Dyn := "-dynamiclib -o {OD} -flat_namespace -undefined dynamic_lookup {FD} {DL} {LO} {LS}" /* NOTE: -single_module is now the default in ld/libtool. */
|
||||
cOpt_Dyn := "-dynamiclib -o {OD} {FD} {DL} {LO} {LS}" /* NOTE: -single_module is now the default in ld/libtool. */
|
||||
ELSE
|
||||
cOpt_Dyn := "-shared -o {OD} {LO} {FD} {DL} {LS}"
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user