Found this when tried to build FreeBSD port jpeg-turbo-1.5.1 which fails to link because of next script:
LIBJPEGTURBO_8.0 { local: jsimd_*; jconst_*; }; LIBJPEG_8.0 { global: *; };
Previously we did not support anything except "local: *", patch changes that.
Actually GNU rules of proccessing wildcards are more complex than that (http://www.airs.com/blog/archives/300):
There are 2 iteration for wildcards, at first iteration "*" wildcards are ignored and handled at second iteration.
Since we previously decided not to implement such complex rules,
I suggest solution that is implemented in this patch. So for "local: *" case nothing changes, but if we have wildcarded locals,
they are processed before globals. That adds a chance for such scripts to work.
Use setError.