1
0
mirror of http://mpg123.de/trunk/.git synced 2025-07-31 13:24:22 +03:00

intsym: formally include libsyn123, drop static

git-svn-id: svn://scm.orgis.org/mpg123/trunk@4501 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2019-07-23 08:45:34 +00:00
parent a82137a79e
commit 85b111bc07
2 changed files with 3 additions and 5 deletions

View File

@ -32,9 +32,10 @@ my @instances =
libout123/wav
libout123/out123_int
libout123/stringlists
libsyn123/syn123_int
)]
, prefix => 'INT123_'
, apiprefix => 'mpg123_|out123_'
, apiprefix => 'mpg123_|out123_|syn123_'
, conditional => { strerror=>'HAVE_STRERROR' }
, symbols => [qw(COS9 tfcos36 pnts catchsignal)] # extra symbols
}
@ -61,7 +62,7 @@ for my $i (@instances)
if(/^([^\s\(#][^\(]*)\s\*?([a-z][a-z_0-9]+)\s*\(/)
{
# Skip preprocessing/comment stuff and official API.
unless($1 =~ '^#' or $1 =~ '/\*' or $2 =~ $apiex)
unless($1 =~ '^#' or $1 =~ '/\*' or $2 =~ $apiex or $1 =~ /\bstatic\b/)
{
push(@symbols, $2) unless grep {$_ eq $2} (keys %{$i->{conditional}});
}