Skip to content

Commit

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

For R >= 4.2 using the 'Rtools42' or 'Rtools43' toolchains, 'libnng' v1.8.0 and 'libmbedtls' v3.6.0 LTS will be automatically compiled from the package sources during installation.

For previous R versions, pre-compiled 'libnng' v1.7.3 and 'libmbedtls' v3.6.0 LTS libraries are downloaded and used for installation instead.
For previous R versions, pre-compiled 'libnng' v1.8.0 and 'libmbedtls' v3.6.0 LTS libraries are downloaded and used for installation instead.

### Acknowledgements and Links

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ For R \>= 4.2 using the ‘Rtools42’ or ‘Rtools43’ toolchains, ‘libnng
v1.8.0 and ‘libmbedtls’ v3.6.0 LTS will be automatically compiled from
the package sources during installation.

For previous R versions, pre-compiled ‘libnng’ v1.7.3 and ‘libmbedtls’
For previous R versions, pre-compiled ‘libnng’ v1.8.0 and ‘libmbedtls’
v3.6.0 LTS 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.7.3_3.6.0/include -DNNG_STATIC_LIB $(C_VISIBILITY)
PKG_LIBS=-L../src-${ARC}/rwinlib-1.7.3_3.6.0/lib${R_ARCH} -lnng -lmbedtls -lmbedx509 -lmbedcrypto -lbcrypt -lws2_32
PKG_CFLAGS=-I../src-${ARC}/rwinlib-1.8.0_3.6.0/include -DNNG_STATIC_LIB $(C_VISIBILITY)
PKG_LIBS=-L../src-${ARC}/rwinlib-1.8.0_3.6.0/lib${R_ARCH} -lnng -lmbedtls -lmbedx509 -lmbedcrypto -lbcrypt -lws2_32

all: winlibs

winlibs:
curl -sL /~https://github.com/shikokuchuo/rwinlib/archive/refs/tags/v1.7.3_3.6.0.zip -o nng.zip
curl -sL /~https://github.com/shikokuchuo/rwinlib/archive/refs/tags/v1.8.0_3.6.0.zip -o nng.zip
unzip -q nng.zip
rm -f nng.zip

0 comments on commit ace1c08

Please sign in to comment.