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
3029bbdb
Commit
3029bbdb
authored
Nov 12, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wl1744 - recommit stuff lost in corrupt clone
parent
ad4d7a65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
ndb/config/win-libraries
ndb/config/win-libraries
+19
-5
ndb/config/win-sources
ndb/config/win-sources
+1
-1
No files found.
ndb/config/win-libraries
View file @
3029bbdb
...
...
@@ -3,6 +3,9 @@
dst
=
$1
shift
type
=
$1
shift
add_lib
(){
echo
`
dirname
$2
`
/
$1
/
`
basename
$2
|
sed
"s/
\.
[l]*a/
$3
.lib/g"
`
}
...
...
@@ -13,17 +16,28 @@ out_tls_rel=
out_tls_deb
=
for
i
in
$*
do
# mysql VC++ project files have for some unknown reason
# choosen NOT to put libdbug.lib in $(topdir)./dbug but rather in $(topdir)
# the same goes for mysys and strings
lib
=
$i
case
$i
in
*
libdbug.a
|
*
libmysys.a
|
*
libmystrings.a
)
lib
=
`
echo
$i
|
sed
s
'!dbug\/lib!!'
|
sed
's!mysys\/lib!!'
|
sed
's!strings\/libmy!!'
`
echo
"Changing from
$i
to
$lib
"
;;
esac
if
[
`
echo
$i
|
grep
-c
gcc
`
-eq
0
]
then
out_rel
=
"
${
out_rel
}
`
add_lib lib_release
$
i
`
"
out_deb
=
"
${
out_deb
}
`
add_lib lib_debug
$
i
`
"
out_tls_rel
=
"
${
out_tls_rel
}
`
add_lib lib_release
$
i
_tls
`
"
out_tls_deb
=
"
${
out_tls_deb
}
`
add_lib lib_debug
$
i
_tls
`
"
out_rel
=
"
${
out_rel
}
`
add_lib lib_release
$
lib
`
"
out_deb
=
"
${
out_deb
}
`
add_lib lib_debug
$
lib
`
"
out_tls_rel
=
"
${
out_tls_rel
}
`
add_lib lib_release
$
lib
_tls
`
"
out_tls_deb
=
"
${
out_tls_deb
}
`
add_lib lib_debug
$
lib
_tls
`
"
fi
done
fix
(){
echo
"# ADD BASE
LIB32
$*
\n
# ADD LIB
32
$*
\n
"
echo
"# ADD BASE
${
type
}
32
$*
\n
# ADD
${
type
}
32
$*
\n
"
}
if
[
"
$out_rel
"
]
...
...
ndb/config/win-sources
View file @
3029bbdb
...
...
@@ -4,5 +4,5 @@ dst=$1
shift
out
=
`
echo
$*
|
sed
's!\([^ ]*\)!# Begin Source File\\\nSOURCE=\1\\\n# End Source File\\\n!g'
`
sed
-e
"s
/@sources@/
$out
/
g"
$dst
>
/tmp/
$dst
.
$$
sed
-e
"s
!@sources@!
$out
!
g"
$dst
>
/tmp/
$dst
.
$$
mv
/tmp/
$dst
.
$$
$dst
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