aboutsummaryrefslogtreecommitdiff
path: root/winsup
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
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')
-rw-r--r--winsup/cygwin/ChangeLog5
-rwxr-xr-xwinsup/cygwin/speclib2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index b0daf5f..effa838 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-30 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * speclib: Use last dll found since that's the real name of the cygwin
+ DLL.
+
2009-11-27 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos in
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;