Skip to content
Back to formatted view

Raw Message

Message-ID: <23118.27916.84846.758116@bud.eddelbuettel.com>
Date: 2018-01-04T18:06:04Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] Portable method of stripping debug symbols
In-Reply-To: <CAFyih6B6745EPZCXqLRYRhFfyNRNucMa=AWTczeAG4DapuPceQ@mail.gmail.com>

On 4 January 2018 at 00:27, Thibault Vatter wrote:
| We faced a problem when we tried Dirk's solution for our package
| rvinecopulib: there is a strip binary on OS X but it doesn't work as the
| linux one.
| 
| As such, to avoid calling OS X's strip which doesn't work, we use:
| 
| strippedLib: $(SHLIB)
| if test -e "/usr/bin/strip" & test -e "/bin/uname" & [[ `uname` == "Linux"
| ]] ; then /usr/bin/strip --strip-debug $(SHLIB); fi
| .phony: strippedLib

Yes, this is good. Someone (you?) had pointed this out to me before.

Did you add this to your actual released and on-CRAN package?

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org