Skip to content

Commit

Permalink
update legacy winlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Jan 27, 2025
1 parent e77c970 commit c449a4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ As system libraries, 'libnng' is available as libnng-dev (deb) or nng-devel (rpm

For R >= 4.2 using the 'Rtools42' or newer toolchains, 'libnng' v1.10.1 and 'libmbedtls' v3.6.2 will be automatically compiled from the package sources during installation.

For previous R versions, pre-compiled 'libnng' v1.9.0 and 'libmbedtls' v3.5.2 libraries are downloaded and used for installation instead.
For previous R versions, pre-compiled 'libnng' v1.10.1 and 'libmbedtls' v3.6.2 libraries are downloaded and used for installation instead.

### Acknowledgements and Links

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ For R \>= 4.2 using the ‘Rtools42’ or newer toolchains, ‘libnng’ v1.10.1
and ‘libmbedtls’ v3.6.2 will be automatically compiled from the package
sources during installation.

For previous R versions, pre-compiled ‘libnng’ v1.9.0 and ‘libmbedtls’
v3.5.2 libraries are downloaded and used for installation instead.
For previous R versions, pre-compiled ‘libnng’ v1.10.1 and ‘libmbedtls’
v3.6.2 libraries are downloaded and used for installation instead.

### Acknowledgements and Links

Expand Down
6 changes: 3 additions & 3 deletions src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ else
ARC="i386"
endif

PKG_CFLAGS=-I../src-${ARC}/rwinlib-1.9.0_3.5.2/include -DNNG_STATIC_LIB $(C_VISIBILITY)
PKG_LIBS=-L../src-${ARC}/rwinlib-1.9.0_3.5.2/lib${R_ARCH} -lnng -lmbedtls -lmbedx509 -lmbedcrypto -lbcrypt -lws2_32
PKG_CFLAGS=-I../src-${ARC}/rwinlib-1.10.1_3.6.2/include -DNNG_STATIC_LIB $(C_VISIBILITY)
PKG_LIBS=-L../src-${ARC}/rwinlib-1.10.1_3.6.2/lib${R_ARCH} -lnng -lmbedtls -lmbedx509 -lmbedcrypto -lbcrypt -lws2_32

all: winlibs

winlibs:
curl -sL https://github.com/shikokuchuo/rwinlib/archive/refs/tags/v1.9.0_3.5.2.zip -o nng.zip
curl -sL https://github.com/shikokuchuo/rwinlib/archive/refs/tags/v1.10.1_3.6.2.zip -o nng.zip
unzip -q nng.zip
rm -f nng.zip

0 comments on commit c449a4a

Please sign in to comment.