Skip to content

Commit

Permalink
Merge pull request #184 from ahorek/strip_fix
Browse files Browse the repository at this point in the history
Restore strip symbols
  • Loading branch information
bolandrm committed Mar 3, 2020
2 parents 8378681 + aadad46 commit 2f8aea1
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 2f8aea1

Please sign in to comment.