[R-pkg-devel] Portable method of stripping debug symbols

Thibault Vatter thibault.vatter at gmail.com
Thu Jan 4 19:16:46 CET 2018


No, we're preparing a new release which we'll submit in the next few days.

On Thu, Jan 4, 2018 at 7:06 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> 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
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list