mysql: fix a compile error on some host systems.
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Apr 2011 12:58:10 +0000 (12:58 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Apr 2011 12:58:10 +0000 (12:58 +0000)
commit5e589420a7d90965f48f47b29e80ac28c5c6e97f
treecf898fda302d26314aa1a2c4ede841670fa44cd3
parenteb8aa3ab2f98f8b730a38e011273a1c44d8cb5a3
mysql: fix a compile error on some host systems.

conf_to_src.c uses C++ functions so we should use g++ for compiling.
The CFLAGS, CPPFLAGS and LDFLAGS for host build should be used and not the for target builds.

This closes #8342

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26540 3c298f89-4303-0410-b956-a3cf2f4a3e73
libs/mysql/Makefile