Skip to content

Commit 50cdb11

Browse files
committed
Remove exported symbol causing problem in Linux x64 build.
Thanks to Alex.
1 parent 739c691 commit 50cdb11

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

builds/posix/vers.sh.in

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,42 @@ platform_aix() {
2929
echo '#!'
3030

3131
for i in `grep -v '#' ${1}`
32-
do
32+
do
3333
echo "${TAB}$i"
3434
done
3535
}
3636

3737
platform_darwin() {
3838
for i in `grep -v '#' ${1}`
39-
do
39+
do
4040
echo "${TAB}_$i"
4141
done
4242
}
4343

4444
platform_hpux() {
4545
for i in `grep -v '#' ${1}`
46-
do
46+
do
4747
echo "+e $i"
4848
done
4949
}
5050

5151
platform_linux() {
5252
echo '{'
53-
echo 'global:'
53+
54+
if grep -qv '^#' "${1}"; then
55+
echo 'global:'
56+
fi
5457

5558
for i in `grep -v '#' ${1}`
56-
do
59+
do
5760
echo "${TAB}$i;"
5861
done
5962

60-
echo "${TAB}_IO_stdin_used;"
6163
echo 'local:'
6264
echo "${TAB}*;"
6365
echo '};'
6466
}
6567

66-
6768
# main
6869
FILE=${1}
6970
if test -z "$FILE"

0 commit comments

Comments
 (0)