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 609e64d commit 9192576
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ namespace "ffi-compiler" do
c.have_library?('png')
c.have_library?('jpeg')
c.have_library?('tiff')
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
end
task :compile => ["ffi-compiler:default"]
Expand Down

0 comments on commit 9192576

Please sign in to comment.