How to properly use mysql_config
Posted by:
Igor Korot
Date: January 04, 2026 03:18PM
Hi, ALL,
In my Makefile.am I have the following:
libmysql_lib_la_CXXFLAGS = `mysql_config \
--cflags` \
-I../../dbinterface \
-DUNICODE \
@DBTOOLKIT@
libmysql_lib_la_LDFLAGS = `mysql_config \
--libs`
Is _LDFLAGS correct place? Or I should put it in some other variable, namely _LIBS?
Thank you.
Subject
Views
Written By
Posted
How to properly use mysql_config
66
January 04, 2026 03:18PM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.