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
33842511
Commit
33842511
authored
Jan 18, 2007
by
mtaylor@qualinost.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add code to actually version the symbols in the library, and not just the library. bug #13522
parent
e4b3708e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
configure.in
configure.in
+12
-0
storage/ndb/src/Makefile.am
storage/ndb/src/Makefile.am
+1
-1
storage/ndb/src/libndb.ver.in
storage/ndb/src/libndb.ver.in
+2
-0
No files found.
configure.in
View file @
33842511
...
...
@@ -15,6 +15,8 @@ DOT_FRM_VERSION=6
# See the libtool docs for information on how to do shared lib versions.
SHARED_LIB_MAJOR_VERSION
=
15
SHARED_LIB_VERSION
=
$SHARED_LIB_MAJOR_VERSION
:0:0
NDB_SHARED_LIB_MAJOR_VERSION
=
3
NDB_SHARED_LIB_VERSION
=
$NDB_SHARED_LIB_MAJOR_VERSION
:0:0
# Set all version vars based on $VERSION. How do we do this more elegant ?
# Remember that regexps needs to quote [ and ] since this is run through m4
MYSQL_NO_DASH_VERSION
=
`
echo
$VERSION
|
sed
-e
"s|[[a-z]]*-.*
$|
|"
`
...
...
@@ -58,6 +60,8 @@ AC_DEFINE_UNQUOTED([DOT_FRM_VERSION], [$DOT_FRM_VERSION],
[
Version of .frm files]
)
AC_SUBST
(
SHARED_LIB_MAJOR_VERSION
)
AC_SUBST
(
SHARED_LIB_VERSION
)
AC_SUBST
(
NDB_SHARED_LIB_MAJOR_VERSION
)
AC_SUBST
(
NDB_SHARED_LIB_VERSION
)
AC_SUBST
(
AVAILABLE_LANGUAGES
)
...
...
@@ -354,6 +358,14 @@ if $LD --version 2>/dev/null|grep -q GNU; then
fi
AC_SUBST
(
LD_VERSION_SCRIPT
)
# libndbclient versioning when linked with GNU ld.
if
$LD
--version
2>/dev/null|grep
-q
GNU
;
then
NDB_LD_VERSION_SCRIPT
=
"-Wl,--version-script=
\$
(top_builddir)/storage/ndb/src/libndb.ver"
AC_CONFIG_FILES
(
storage/ndb/src/libndb.ver
)
fi
AC_SUBST
(
NDB_LD_VERSION_SCRIPT
)
# Avoid bug in fcntl on some versions of linux
AC_MSG_CHECKING
([
if
we should use
'skip-external-locking'
as default
for
$target_os
])
# Any variation of Linux
...
...
storage/ndb/src/Makefile.am
View file @
33842511
...
...
@@ -21,7 +21,7 @@ ndblib_LTLIBRARIES = libndbclient.la
libndbclient_la_SOURCES
=
libndbclient_la_LDFLAGS
=
-version-info
@NDB_SHARED_LIB_VERSION@
libndbclient_la_LDFLAGS
=
-version-info
@NDB_SHARED_LIB_VERSION@
@NDB_LD_VERSION_SCRIPT@
libndbclient_la_LIBADD
=
\
ndbapi/libndbapi.la
\
...
...
storage/ndb/src/libndb.ver.in
0 → 100644
View file @
33842511
libndbclient_@NDB_SHARED_LIB_MAJOR_VERSION@ { global: *; };
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