mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
d10772ec8a
We already have the correct library dir in our search path, so we don't need to prepend lib/ again.
14 lines
526 B
Diff
14 lines
526 B
Diff
diff --git a/loader/BinaryFileFactory.cpp b/loader/BinaryFileFactory.cpp
|
|
index 889a4ed..ca86765 100644
|
|
--- a/loader/BinaryFileFactory.cpp
|
|
+++ b/loader/BinaryFileFactory.cpp
|
|
@@ -109,7 +109,7 @@ BinaryFile* BinaryFileFactory::getInstanceFor( const char *sName ) {
|
|
|
|
// Load the specific loader library
|
|
#ifndef _WIN32 // Cygwin, Unix/Linux
|
|
- libName = std::string("lib/lib") + libName;
|
|
+ libName = std::string("lib") + libName;
|
|
#ifdef __CYGWIN__
|
|
libName += ".dll"; // Cygwin wants .dll, but is otherwise like Unix
|
|
#else
|