Skip to content

Commit

Permalink
restore strip symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ahorek committed Feb 19, 2020
1 parent 8378681 commit aadad46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
$srcs = Dir['libsass/src/**/*.{c,cpp}']
end

# libsass.bundle malformed object (unknown load command 7) on Mac OS X
# See https://github.com/sass/sassc-ruby/pull/174
if enable_config('strip', RbConfig::CONFIG['host_os'].downcase !~ /darwin/)
MakeMakefile::LINK_SO << "\nstrip -x $@"
end

# Don't link libruby.
$LIBRUBYARG = nil

Expand Down

0 comments on commit aadad46

Please sign in to comment.