lol

boomerang: Fix prefix in dlopen().

We already have the correct library dir in our search path, so we don't need to
prepend lib/ again.

aszlig d10772ec a6e26630

+15
+2
pkgs/development/tools/boomerang/default.nix
··· 14 14 install -vD boomerang "$out/bin/boomerang" 15 15 ''; 16 16 17 + patches = [ ./dlopen_path.patch ]; 18 + 17 19 src = fetchgit { 18 20 url = "git://github.com/aszlig/boomerang.git"; 19 21 rev = "d0b147a5dfc915a5fa8fe6c517e66a049a37bf22";
+13
pkgs/development/tools/boomerang/dlopen_path.patch
··· 1 + diff --git a/loader/BinaryFileFactory.cpp b/loader/BinaryFileFactory.cpp 2 + index 889a4ed..ca86765 100644 3 + --- a/loader/BinaryFileFactory.cpp 4 + +++ b/loader/BinaryFileFactory.cpp 5 + @@ -109,7 +109,7 @@ BinaryFile* BinaryFileFactory::getInstanceFor( const char *sName ) { 6 + 7 + // Load the specific loader library 8 + #ifndef _WIN32 // Cygwin, Unix/Linux 9 + - libName = std::string("lib/lib") + libName; 10 + + libName = std::string("lib") + libName; 11 + #ifdef __CYGWIN__ 12 + libName += ".dll"; // Cygwin wants .dll, but is otherwise like Unix 13 + #else