[SR-Users] db_mysql when compiling Kamailio

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 12 15:34:19 CEST 2018


Hello,

edit the src/modules/db_mysql/Makefile and set the values for:

DEFS += ...

LIBS = ...

to your desired library. DEFS must be an addition (+=), with paths for
include, LIBS is a set (=). Remove the parts that already set them.

Cheers,
Daniel


On 11.10.18 13:11, Wilkins, Steve wrote:
>
> Hello All,
>
>  
>
> When  db_mysql is selected in the make, the make looks for -lmariadb.
> However, I want MySQL, not mariadb.  Is there a way to let the make
> know that MySQL is preferred ov mariadb?
>
>  
>
> Thank you
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181012/fc29238b/attachment.html>


More information about the sr-users mailing list