[asterisk-dev] How to bind extern include files or libs into * 1.4

Russell Bryant russell at digium.com
Thu Apr 19 08:48:22 MST 2007


----- "Hoai-Anh Ngo-Vi" <Hoai-Anh.Ngo-Vi at mcn-tele.com> wrote:
> I want to customize logger.c using MySQL. In the prior version to 1.4
> I just need to edit the Makefile adding:
> INCLUDE+=-I/usr/include/mysql
> ...
> LIBS+=-L/usr/lib/mysql -lmysqlclient
> 
> and it works. How can I do this  for * 1.4?

You can add these things to ASTCFLAGS and ASTLDFLAGS in main/Makefile.

-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list