Skip to content

Commit

Permalink
Add Haiku support to the VM rakefile.
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Ford <brixen@gmail.com>
  • Loading branch information
leavengood authored and brixen committed Jan 12, 2011
1 parent 77c1589 commit 2aff179
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rakelib/vm.rake
Original file line number Diff line number Diff line change
Expand Up @@ -708,11 +708,12 @@ def ex_libs # needs to be method to delay running of llvm_config
$ex_libs << "-L/opt/local/lib"
end

$ex_libs << "-ldl" unless RUBY_PLATFORM =~ /bsd/
$ex_libs << "-ldl" unless RUBY_PLATFORM =~ /bsd|haiku/
$ex_libs << "-lcrypt" if RUBY_PLATFORM =~ /bsd/ && RUBY_PLATFORM !~ /openbsd/
$ex_libs << "-lcrypto -pthread -lssl" if RUBY_PLATFORM =~ /openbsd/
$ex_libs << "-lexecinfo" if RUBY_PLATFORM =~ /bsd/ && Rubinius::BUILD_CONFIG[:defines].include?('HAS_EXECINFO')
$ex_libs << "-lrt -lcrypt" if RUBY_PLATFORM =~ /linux/
$ex_libs << "-lnetwork" if RUBY_PLATFORM =~ /haiku/

$ex_libs += llvm_lib_files
end
Expand Down

0 comments on commit 2aff179

Please sign in to comment.