projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a43c44
)
NetBSD: Set proper shortAsciiName for NetBSD's libc
author
Kamil Rytarowski
<n54@gmx.com>
Thu, 21 Jan 2016 20:31:11 +0000
(21:31 +0100)
committer
Kamil Rytarowski
<n54@gmx.com>
Thu, 21 Jan 2016 20:56:00 +0000
(21:56 +0100)
There is no need for the LIBC_SO-like solution on NetBSD.
src/pal/src/loader/module.cpp
patch
|
blob
|
history
diff --git
a/src/pal/src/loader/module.cpp
b/src/pal/src/loader/module.cpp
index
81fc342
..
fa1be1b
100644
(file)
--- a/
src/pal/src/loader/module.cpp
+++ b/
src/pal/src/loader/module.cpp
@@
-1621,6
+1621,8
@@
static HMODULE LOADLoadLibrary(LPCSTR shortAsciiName, BOOL fDynamic)
shortAsciiName = "libc.dylib";
#elif defined(__FreeBSD__)
shortAsciiName = FREEBSD_LIBC;
+#elif defined(__NetBSD__)
+ shortAsciiName = "libc.so";
#else
shortAsciiName = LIBC_SO;
#endif