Skip to content

Commit

Permalink
DRY
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Aug 16, 2014
1 parent a1ca8a8 commit 609e64d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/webp_ffi/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ FFI::Compiler::CompileTask.new('webp_ffi') do |c|
c.have_library?('jpeg')
c.have_library?('tiff')
# compiler flags
c.cflags << "-arch x86_64" if c.platform.mac?
c.ldflags << "-arch x86_64" if c.platform.mac?
if c.platform.mac?
c.cflags << "-arch x86_64"
c.ldflags << "-arch x86_64"
end
end

0 comments on commit 609e64d

Please sign in to comment.