Created
July 17, 2013 14:13
-
-
Save xaitax/6020896 to your computer and use it in GitHub Desktop.
BackTrack 5 R3 Patch for Metasploit to work again
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bt:/opt/metasploit/ruby/lib/ruby/1.9.1/i686-linux# diff -Nur rbconfig.rb_old rbconfig.rb | |
--- rbconfig.rb_old 2013-04-14 19:58:02.394668232 +0400 | |
+++ rbconfig.rb 2013-04-14 19:52:59.742676593 +0400 | |
@@ -53,7 +53,7 @@ | |
CONFIG["DLDLIBS"] = " -lc" | |
CONFIG["SOLIBS"] = "" | |
CONFIG["LIBRUBYARG_SHARED"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) " | |
- CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static" | |
+ CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) " | |
CONFIG["LIBRUBYARG"] = "$(LIBRUBYARG_STATIC)" | |
CONFIG["LIBRUBY"] = "$(LIBRUBY_A)" | |
CONFIG["LIBRUBY_ALIASES"] = "lib$(RUBY_SO_NAME).so" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment