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:
Lailton
2022-10-23 23:28:00 -03:00
parent 95f01c237b
commit 2c1e33a0b2
5 changed files with 14 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ AR_RULE = ( $(AR) -static \
DY_OUT := -o$(subst x,x, )
DY_RULE = $(DY) -dynamiclib -flat_namespace $(DFLAGS) \
DY_RULE = $(DY) -dynamiclib $(DFLAGS) \
-install_name "$(DYN_NAME_NVR)" \
-compatibility_version $(HB_VER_MAJOR).$(HB_VER_MINOR) \
-current_version $(HB_VER_MAJOR).$(HB_VER_MINOR).$(HB_VER_RELEASE) \

View File

@@ -440,6 +440,9 @@ else
ifneq ($(findstring Power,$(_UNAME_M)),)
HB_HOST_CPU := ppc
else
ifneq ($(findstring arm64,$(_UNAME_M)),)
HB_HOST_CPU := arm64
else
ifneq ($(findstring arm,$(_UNAME_M)),)
HB_HOST_CPU := arm
else
@@ -490,6 +493,7 @@ else
endif
endif
endif
endif
endif
endif