Closed apeschar closed 3 years ago
FreeBSD doesn't have gcc so that breaks ./configure.
gcc
./configure
cc links to GCC on Linux, and to clang on FreeBSD, so it should always work.
cc
With this change, opam install mariadb works with these environment variables set:
opam install mariadb
CPATH="/usr/local/include/mysql:/usr/local/include/mysql/mysql:/usr/local/include" \ LIBRARY_PATH="/usr/local/lib/mysql:/usr/local/lib" \ opam install mariadb
We should probably be using mysql_config/mariadb_config instead, but I guess that's a bit more work to implement.
mysql_config
mariadb_config
Sorry it took so long...
Better late than never. :)
FreeBSD doesn't have
gcc
so that breaks./configure
.cc
links to GCC on Linux, and to clang on FreeBSD, so it should always work.With this change,
opam install mariadb
works with these environment variables set:We should probably be using
mysql_config
/mariadb_config
instead, but I guess that's a bit more work to implement.