Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
66a8da06
Commit
66a8da06
authored
Jul 16, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation fixes: without dbug, without ssl
parent
d89c19ce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
10 deletions
+6
-10
libmysql/CMakeLists.txt
libmysql/CMakeLists.txt
+1
-5
mysys/CMakeLists.txt
mysys/CMakeLists.txt
+1
-1
sql/CMakeLists.txt
sql/CMakeLists.txt
+1
-1
sql/sql_acl.cc
sql/sql_acl.cc
+1
-1
storage/heap/CMakeLists.txt
storage/heap/CMakeLists.txt
+2
-2
No files found.
libmysql/CMakeLists.txt
View file @
66a8da06
...
...
@@ -150,11 +150,7 @@ ADD_CONVENIENCE_LIBRARY(clientlib ${CLIENT_SOURCES})
DTRACE_INSTRUMENT
(
clientlib
)
ADD_DEPENDENCIES
(
clientlib GenError
)
SET
(
LIBS clientlib dbug strings vio mysys
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
${
LIBDL
}
)
IF
(
WITH_AUTHENTICATION_WIN
)
LIST
(
APPEND LIBS auth_win_client
)
ENDIF
(
WITH_AUTHENTICATION_WIN
)
SET
(
LIBS clientlib
${
DBUG_LIBRARY
}
strings vio mysys
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
${
LIBDL
}
)
# Merge several convenience libraries into one big mysqlclient
# and link them together into shared library.
...
...
mysys/CMakeLists.txt
View file @
66a8da06
...
...
@@ -66,7 +66,7 @@ IF(HAVE_MLOCK)
ENDIF
()
ADD_CONVENIENCE_LIBRARY
(
mysys
${
MYSYS_SOURCES
}
)
TARGET_LINK_LIBRARIES
(
mysys
dbug
strings
${
ZLIB_LIBRARY
}
TARGET_LINK_LIBRARIES
(
mysys
${
DBUG_LIBRARY
}
strings
${
ZLIB_LIBRARY
}
${
LIBNSL
}
${
LIBM
}
${
LIBRT
}
)
DTRACE_INSTRUMENT
(
mysys
)
...
...
sql/CMakeLists.txt
View file @
66a8da06
...
...
@@ -90,7 +90,7 @@ ADD_LIBRARY(sql STATIC ${SQL_SOURCE})
ADD_DEPENDENCIES
(
sql GenServerSource
)
DTRACE_INSTRUMENT
(
sql
)
TARGET_LINK_LIBRARIES
(
sql
${
MYSQLD_STATIC_PLUGIN_LIBS
}
mysys
dbug
strings vio regex
mysys
${
DBUG_LIBRARY
}
strings vio regex
${
LIBWRAP
}
${
LIBCRYPT
}
${
LIBDL
}
${
SSL_LIBRARIES
}
)
...
...
sql/sql_acl.cc
View file @
66a8da06
...
...
@@ -532,11 +532,11 @@ static uchar* acl_entry_get_key(acl_entry *entry, size_t *length,
second packet?
*/
#define SSL_HANDSHAKE_SIZE 2
#define NORMAL_HANDSHAKE_SIZE 6
#define MIN_HANDSHAKE_SIZE 2
#else
#define MIN_HANDSHAKE_SIZE 6
#endif
/* HAVE_OPENSSL && !EMBEDDED_LIBRARY */
#define NORMAL_HANDSHAKE_SIZE 6
static
DYNAMIC_ARRAY
acl_hosts
,
acl_users
,
acl_dbs
,
acl_proxy_users
;
static
MEM_ROOT
mem
,
memex
;
...
...
storage/heap/CMakeLists.txt
View file @
66a8da06
...
...
@@ -25,7 +25,7 @@ SET(HEAP_SOURCES _check.c _rectest.c hp_block.c hp_clear.c hp_close.c hp_create
MYSQL_ADD_PLUGIN
(
heap
${
HEAP_SOURCES
}
STORAGE_ENGINE MANDATORY RECOMPILE_FOR_EMBEDDED
)
ADD_EXECUTABLE
(
hp_test1 hp_test1.c
)
TARGET_LINK_LIBRARIES
(
hp_test1
mysys heap dbug
strings
)
TARGET_LINK_LIBRARIES
(
hp_test1
heap mysys
${
DBUG_LIBRARY
}
strings
)
ADD_EXECUTABLE
(
hp_test2 hp_test2.c
)
TARGET_LINK_LIBRARIES
(
hp_test2
mysys heap dbug
strings
)
TARGET_LINK_LIBRARIES
(
hp_test2
heap mysys
${
DBUG_LIBRARY
}
strings
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment