aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bochs.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/bochs.rb b/Library/Formula/bochs.rb
index 2191e7540..59326febf 100644
--- a/Library/Formula/bochs.rb
+++ b/Library/Formula/bochs.rb
@@ -38,6 +38,12 @@ class Bochs < Formula
"--with-term",
"--enable-ne2000"
+ # See: http://sourceforge.net/p/bochs/discussion/39592/thread/9c22887c
+ inreplace 'config.h', 'define BX_HAVE_LTDL 1', 'define BX_HAVE_LTDL 0'
+ inreplace 'Makefile' do |s|
+ s.gsub! /\-lltdl/, 'ltdl.o'
+ end
+
system "make"
system "make install"
end