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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ccf2600f
Commit
ccf2600f
authored
Jan 13, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not link with mtmalloc on Solaris.
add WITH_MYSQLD_LIBS for extra linker flags for mysqld
parent
548e2e3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
configure.cmake
configure.cmake
+0
-9
sql/CMakeLists.txt
sql/CMakeLists.txt
+12
-0
No files found.
configure.cmake
View file @
ccf2600f
...
@@ -326,15 +326,6 @@ IF(UNIX)
...
@@ -326,15 +326,6 @@ IF(UNIX)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
)
INCLUDE
(
CheckLibraryExists
)
CHECK_LIBRARY_EXISTS
(
mtmalloc malloc
""
HAVE_LIBMTMALLOC
)
IF
(
HAVE_LIBMTMALLOC
)
LINK_LIBRARIES
(
mtmalloc
)
ENDIF
()
ENDIF
()
# Workaround for CMake bug#9051
# Workaround for CMake bug#9051
IF
(
CMAKE_OSX_SYSROOT
)
IF
(
CMAKE_OSX_SYSROOT
)
SET
(
ENV{CMAKE_OSX_SYSROOT}
${
CMAKE_OSX_SYSROOT
}
)
SET
(
ENV{CMAKE_OSX_SYSROOT}
${
CMAKE_OSX_SYSROOT
}
)
...
...
sql/CMakeLists.txt
View file @
ccf2600f
...
@@ -132,6 +132,7 @@ ENDIF()
...
@@ -132,6 +132,7 @@ ENDIF()
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES ENABLE_EXPORTS TRUE
)
TARGET_LINK_LIBRARIES
(
mysqld sql
)
TARGET_LINK_LIBRARIES
(
mysqld sql
)
# Provide plugins with minimal set of libraries
# Provide plugins with minimal set of libraries
SET
(
INTERFACE_LIBS
${
LIBRT
}
)
SET
(
INTERFACE_LIBS
${
LIBRT
}
)
IF
(
INTERFACE_LIBS
)
IF
(
INTERFACE_LIBS
)
...
@@ -145,6 +146,17 @@ DTRACE_INSTRUMENT_STATIC_LIBS(mysqld
...
@@ -145,6 +146,17 @@ DTRACE_INSTRUMENT_STATIC_LIBS(mysqld
"sql;mysys;
${
MYSQLD_STATIC_PLUGIN_LIBS
}
"
)
"sql;mysys;
${
MYSQLD_STATIC_PLUGIN_LIBS
}
"
)
SET
(
WITH_MYSQLD_LIBS
""
CACHE STRING
"Additional linker flags for mysqld"
)
MARK_AS_ADVANCED
(
WITH_MYSQLD_LIBS
)
IF
(
WITH_MYSQLD_LIBS
)
GET_TARGET_PROPERTY
(
mysqld LINK_FLAGS MYSQLD_LINK_FLAGS
)
IF
(
NOT MYSQLD_LINK_FLAGS
)
SET
(
MYSQLD_LINK_FLAGS
)
ENDIF
()
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES LINK_FLAGS
"
${
MYSQLD_LINK_FLAGS
}
${
WITH_MYSQLD_LIBS
}
"
)
ENDIF
()
# Handle out-of-source build from source package with possibly broken
# Handle out-of-source build from source package with possibly broken
# bison. Copy bison output to from source to build directory, if not already
# bison. Copy bison output to from source to build directory, if not already
# there
# there
...
...
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