Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BackTrack 5 R3 Patch for Metasploit to work again
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
You can’t perform that action at this time.