Browse files

Support Snow Leopard

  • Loading branch information...
1 parent bb593be commit 219cd0f364455cd2af05a3c4810ac0e95248c870 @jhs jhs committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/lib.rb
View
2 tasks/lib.rb
@@ -281,7 +281,7 @@ def configure_cmd(source, opts={})
end
ldflags = libs.map do |lib|
- if DISTRO[0] == :osx && /^11\.\d+\.|^10\.8\./.match(DISTRO[1]) # 11.*
+ if DISTRO[0] == :osx && /^1[12]\.\d+\.|^10\.8\./.match(DISTRO[1]) # 11.*, 12.*
"-L#{lib}" # llvm in OS X Lion
else
"-Xlinker -rpath=#{lib} -L#{lib}" # GCC

0 comments on commit 219cd0f

Please sign in to comment.