aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/speclib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-11-30 15:40:23 +0000
committerChristopher Faylor <me@cgf.cx>2009-11-30 15:40:23 +0000
commitc84fd8fe237269984738a86239891b9d9c2428cc (patch)
treed59610821b78aba314c44b556952a7f5ca37d0d7 /winsup/cygwin/speclib
parent19ac72547f60c7e7bdc3fe37563adcef0d567a7c (diff)
downloadnewlib-c84fd8fe237269984738a86239891b9d9c2428cc.zip
newlib-c84fd8fe237269984738a86239891b9d9c2428cc.tar.gz
newlib-c84fd8fe237269984738a86239891b9d9c2428cc.tar.bz2
* speclib: Use last dll found since that's the real name of the cygwin DLL.
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-xwinsup/cygwin/speclib2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib
index 10218d8..7ac4d1c 100755
--- a/winsup/cygwin/speclib
+++ b/winsup/cygwin/speclib
@@ -35,7 +35,7 @@ my $dllname;
while (<$nm_fd>) {
study;
if (/ I _(.*)_dll_iname/o) {
- $dllname ||= $1;
+ $dllname = $1;
} else {
my ($file, $member, $symbol) = m%^([^:]*):([^:]*(?=:))?.* T (.*)%o;
next if !defined($symbol) || $symbol =~ $exclude_regex;