Building Harbour on Macs arm

Building Harbour on Macs arm

Postby Antonio Linares » Tue Dec 10, 2024 11:41 am

Thanks to our dear Master Lailton:

Code: Select all  Expand view  RUN
#!/bin/bash

export HB_BUILD_MODE=c
export HB_BUILD_NAME=-arm64

export HB_BUILD_CONTRIBS=
export HB_BUILD_DYN=no
export HB_BUILD_CONTRIB_DYN=no

export HB_USER_PRGFLAGS=-l-

export HB_WITH_OPENSSL="$(brew --prefix openssl)/include"
export HB_WITH_CURL="$(brew --prefix curl)/include"
export HB_WITH_MYSQL=$(brew --prefix mariadb-connector-c)/include/mariadb
export HB_OPENSSL_STATIC=yes
export HB_STATIC_OPENSSL=yes
export HB_STATIC_CURL=yes

export HB_WITH_PCRE=local
export HB_WITH_ZLIB=local
export HB_WITH_BZIP2=local
export HB_WITH_JPEG=local
export HB_WITH_PNG=local
export HB_WITH_TIFF=local
export HB_WITH_LIBHARU=local
export HB_WITH_SQLITE3=local

export HB_INSTALL_PREFIX="/Users/$USER/Developer/harbour/core"
export HB_USER_CFLAGS="-DHB_GC_AUTO -DHB_FM_STATISTICS_OFF"


Code: Select all  Expand view  RUN
brew install mariadb-connector-c curl openssl xquartz pcre
sudo ln -s /opt/X11 /usr/X11
sudo ln -s /opt/X11 /usr/X11R6
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 2 guests