lib/uplinkc: make .so smaller by removing symbol information (#2730)

This commit is contained in:
Alexander Leitner 2019-08-13 08:24:31 -04:00 committed by Egon Elbre
parent 022f5d2e14
commit f3db409103

View File

@ -246,7 +246,7 @@ binaries: ${BINARIES} ## Build bootstrap, certificates, gateway, identity, inspe
.PHONY: libuplink
libuplink:
go build -buildmode c-shared -o uplink.so storj.io/storj/lib/uplinkc
go build -ldflags="-s -w" -buildmode c-shared -o uplink.so storj.io/storj/lib/uplinkc
cp lib/uplinkc/uplink_definitions.h uplink_definitions.h
##@ Deploy