Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-11-30 18:40:23 +0300
committerChristopher Faylor <me@cgf.cx>2009-11-30 18:40:23 +0300
commitc84fd8fe237269984738a86239891b9d9c2428cc (patch)
treed59610821b78aba314c44b556952a7f5ca37d0d7 /winsup/cygwin/speclib
parent19ac72547f60c7e7bdc3fe37563adcef0d567a7c (diff)
* 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 10218d876..7ac4d1cff 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;