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

Hoai-Anh Ngo-Vi Hoai-Anh.Ngo-Vi at
Thu Apr 19 23:41:14 MST 2007

Thank you for your response.

For basical understanding. When I write something for 1.4, let's say app_superprog.c, using external libraries (e.g MySQL). Could I add the mentioned things to ASTCFLAGS and ASTLDFLAGS in apps/Makefile?

Hoai-Anh Ngo-Vi
mcn AG
Gartenstraße 23
61352 Bad Homburg v.d.H.
Tel.     +49 (0) 6172 90 30 336
Fax.    +49 (0) 6172 90 30 3369
E-Mail: at

Diese E-Mail enthaelt vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten diese E-Mail.  
This e-mail contains confidential information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. 

>>> russell at 19.04.2007 17:48 >>>

----- "Hoai-Anh Ngo-Vi" <Hoai-Anh.Ngo-Vi at> 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.

--Bandwidth and Colocation provided by --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-dev mailing list