Revert #730 PR.

parent 5031fa84
...@@ -18,14 +18,14 @@ class Python27 < Package ...@@ -18,14 +18,14 @@ class Python27 < Package
system "make" system "make"
# strip debug symbols from library # strip debug symbols from library
system "find . -name '*.so' -print | xargs strip -S" #unless @@debug_symbol system "find . -name '*.so' -print | xargs strip -S" unless @@debug_symbol
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
# strip binary # strip binary
system "strip", "#{CREW_DEST_DIR}/usr/local/bin/python2" #unless @@debug_symbol system "strip", "#{CREW_DEST_DIR}/usr/local/bin/python2" unless @@debug_symbol
# remove static library # remove static library
system "find #{CREW_DEST_DIR}/usr/local -name 'libpython*.a' -print | xargs rm" system "find #{CREW_DEST_DIR}/usr/local -name 'libpython*.a' -print | xargs rm"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment