mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Change libffi.rb to strip debug symbols from library
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
require 'package'
|
||||
|
||||
class Libffi < Package
|
||||
version '3.2.1-1'
|
||||
version '3.2.1-2'
|
||||
source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz'
|
||||
source_sha1 '280c265b789e041c02e5c97815793dfc283fb1e6'
|
||||
|
||||
def self.build
|
||||
system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make"
|
||||
system "find . -name 'lib*.so.*' -print | xargs strip -S"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
|
||||
end
|
||||
|
||||
def self.check
|
||||
|
||||
Reference in New Issue
Block a user