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
dc1ec664
Commit
dc1ec664
authored
Sep 27, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/work/my50-work
into neptunus.(none):/home/msvensson/mysql/work/my51-work
parents
8b2c05de
be9a5571
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
15 deletions
+31
-15
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+31
-15
No files found.
mysql-test/mysql-test-run.pl
View file @
dc1ec664
...
...
@@ -1346,7 +1346,7 @@ sub environment_setup () {
umask
(
022
);
my
$extra_
ld_library_paths
;
my
@
ld_library_paths
;
# --------------------------------------------------------------------------
# Setup LD_LIBRARY_PATH so the libraries from this distro/clone
...
...
@@ -1354,34 +1354,50 @@ sub environment_setup () {
# --------------------------------------------------------------------------
if
(
$opt_source_dist
)
{
$extra_ld_library_paths
=
"
$glob_basedir
/libmysql/.libs/
"
.
"
:
$glob_basedir
/libmysql_r/.libs/
"
;
push
(
@ld_library_paths
,
"
$glob_basedir
/libmysql/.libs/
",
"
$glob_basedir
/libmysql_r/.libs/
")
;
}
else
{
$extra_ld_library_paths
=
"
$glob_basedir
/lib
";
push
(
@ld_library_paths
,
"
$glob_basedir
/lib
");
}
# --------------------------------------------------------------------------
# Add the path where libndbclient can be found
# --------------------------------------------------------------------------
if
(
$opt_ndbcluster_supported
)
{
push
(
@ld_library_paths
,
"
$glob_basedir
/storage/ndb/src/.libs
");
}
# --------------------------------------------------------------------------
# Add the path where mysqld will find udf_example.so
# --------------------------------------------------------------------------
$extra_ld_library_paths
.=
"
:
"
.
(
$lib_udf_example
?
dirname
(
$lib_udf_example
)
:
"");
if
(
$lib_udf_example
)
{
push
(
@ld_library_paths
,
dirname
(
$lib_udf_example
));
}
# --------------------------------------------------------------------------
# Add the path where libndbclient can be found
# Valgrind need to be run with debug libraries otherwise it's almost
# impossible to add correct supressions, that means if "/usr/lib/debug"
# is available, it should be added to
# LD_LIBRARY_PATH
# --------------------------------------------------------------------------
if
(
$opt_ndbcluster_supported
)
my
$debug_libraries_path
=
"
/usr/lib/debug
";
if
(
$opt_valgrind
and
-
d
$debug_libraries_path
)
{
$extra_ld_library_paths
.=
"
:
$glob_basedir
/storage/ndb/src/.libs
"
;
push
(
@ld_library_paths
,
$debug_libraries_path
)
;
}
$ENV
{'
LD_LIBRARY_PATH
'}
=
"
$extra_ld_library_paths
"
.
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
$ENV
{'
DYLD_LIBRARY_PATH
'}
=
"
$extra_ld_library_paths
"
.
(
$ENV
{'
DYLD_LIBRARY_PATH
'}
?
"
:
$ENV
{'DYLD_LIBRARY_PATH'}
"
:
"");
$ENV
{'
LD_LIBRARY_PATH
'}
=
join
("
:
",
@ld_library_paths
,
split
('
:
',
$ENV
{'
LD_LIBRARY_PATH
'}));
mtr_debug
("
LD_LIBRARY_PATH:
$ENV
{'LD_LIBRARY_PATH'}
");
$ENV
{'
DYLD_LIBRARY_PATH
'}
=
join
("
:
",
@ld_library_paths
,
split
('
:
',
$ENV
{'
DYLD_LIBRARY_PATH
'}));
mtr_debug
("
DYLD_LIBRARY_PATH:
$ENV
{'DYLD_LIBRARY_PATH'}
");
# --------------------------------------------------------------------------
# Also command lines in .opt files may contain env vars
...
...
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