diff options
author | Ignacio Galarza <iggy@mysql.com> | 2009-07-31 15:22:02 -0400 |
---|---|---|
committer | Ignacio Galarza <iggy@mysql.com> | 2009-07-31 15:22:02 -0400 |
commit | 6df2af22ceda4a59fc43a661f6ecfac362e9783a (patch) | |
tree | 1ec946eb73a7116ce88cd568b44517de785490e0 /client | |
parent | ba9042167469f9dfd620aeebbce4d034caac26a1 (diff) | |
download | mariadb-git-6df2af22ceda4a59fc43a661f6ecfac362e9783a.tar.gz |
Bug#17270 - mysql client tool could not find ../share/charsets folder and fails.
- Define and pass compile time path variables as pre-processor definitions to
mimic the makefile build.
- Set new CMake version and policy requirements explicitly.
- Changed DATADIR to MYSQL_DATADIR to avoid conflicting definition in
Platform SDK header ObjIdl.h which also defines DATADIR.
Diffstat (limited to 'client')
-rw-r--r-- | client/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/Makefile.am b/client/Makefile.am index 672bb2e0c47..e77d294b0ac 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -57,7 +57,7 @@ strings_src=decimal.c # Fix for mit-threads DEFS = -DUNDEF_THREADS_HACK \ -DDEFAULT_MYSQL_HOME="\"$(prefix)\"" \ - -DDATADIR="\"$(localstatedir)\"" + -DMYSQL_DATADIR="\"$(localstatedir)\"" EXTRA_DIST = get_password.c CMakeLists.txt echo.c |