Closed mbollini closed 2 years ago
To compile in MacOS I added the following rule in the Makefile:
macos: ## build against -lmariadbclient mkoctfile --mex -DDEBUG -L/usr/lib -L/usr/local/lib -L/usr/local/lib/mariadb -lmariadbclient -lz -lm -ldl -I/usr/include/mariadb -I/usr/local/include/mysql -I/usr/local/Cellar/octave/7.2.0_1/include/octave-7.2.0/octave mariadb.c mv mariadb.mex mariadb_.mex
Consequently, I used this command to compile the mex:
% make macos
This works for me.
@mbollini feel free to make a pull request to append the Makefile
Makefile
To compile in MacOS I added the following rule in the Makefile:
Consequently, I used this command to compile the mex:
This works for me.