mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
23 lines
696 B
Plaintext
23 lines
696 B
Plaintext
|
|
brew install pkg-config autoconf automake openssl qt libtool
|
|
|
|
cd xca-2.3.0
|
|
./configure && make
|
|
|
|
|
|
# Compile SQL Drivers if necessary:
|
|
|
|
brew install mariadb-connector-c postgresql unixodbc
|
|
|
|
# Download Qt sources with the same version, currently:
|
|
# qtbase-everywhere-src-5.15.1
|
|
|
|
./configure -recheck -sql-mysql -sql-odbc -sql-psql -opensource -confirm-license -feature-datestring \
|
|
MYSQL_LIBDIR=$(pkg-config --variable=prefix libmariadb)/lib/mariadb \
|
|
MYSQL_INCDIR=$(pkg-config --variable=prefix libmariadb)/include/mariadb/ \
|
|
MYSQL_LIBS="-lmariadb" \
|
|
PSQL_PREFIX=/usr/local/Cellar/postgresql/12.4/
|
|
ODBC_PREFIX=$(pkg-config --variable=prefix odbc)
|
|
|
|
make sub-plugins
|