PDA

View Full Version : MySQL different configurations



cj5cowboy
31st October 2007, 04:54 PM
Hello,

I have a few applications that are "machine dependant".

For example a MySQL app. I need to compile it on several Fedora machines (Same MySQL, same compilers etc. but some are 64 bit machine, others are 32 etc etc.

Is there a way , in a Makefile, for example to execute 'mysql_config --libs' and 'assign' it so something called MYSQL_LIBS so that in that same makefile it can be used when compiling stuff ? gcc ... bla bla bla $(MYSQL_LIBS)' ?

I horsed around with it a bit, but can't seem to get it to work.

thanks,

Ron