HomeDevCentral
Diffusion fbsql fda64dc4e58a

Allow make to build on FreeBSD natively

Description

Allow make to build on FreeBSD natively

Summary:
mysql-config allow to easily get compiler options to find MySQL or MariaDB
include files, or libraries and options to link with the client library.

Paths for TCL includes and library are for Solaris and FreeBSD.
As far as we know, we're the only users from that library copy of the code.
If there is a need to use it from Linux, we'll need to adapt TCL directories too.

Finally, we also need to include /usr/lib for libz, as it's part of the base OS.

-G is replaced by -shared to target FreeBSD as default OS instead of Solaris.

Changes are compatible with both BSD and GNU Make.

Test Plan:

  • make
  • gmake

Differential Revision: https://devcentral.nasqueron.org/D3911

Details

Provenance
derecksonAuthored on Sat, Feb 7, 12:31
derecksonPushed on Sat, Feb 7, 12:46
Differential Revision
D3911: Allow make to build on FreeBSD natively
Parents
rFBSQLdb879ca2ffe4: Avoid const char** to char** now invalid pointer convert
Branches
Unknown
Tags
Unknown