Skip to content

Commit e35acd7

Browse files
committed
Update Makevars
1 parent c87304e commit e35acd7

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

src/Makevars.ucrt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
CXX_STD = CXX11
22

3-
PKG_LIBS = -lpng -lz
4-
5-
all: clean
6-
7-
clean:
8-
rm -f $(OBJECTS)
3+
CRT = -ucrt
4+
include Makevars.win

src/Makevars.win

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CXX_STD = CXX11
22

3-
RWINLIB = ../windows/harfbuzz-2.7.4
3+
VERSION = 2.7.4
4+
RWINLIB = ../windows/harfbuzz-${VERSION}
45

5-
PKG_CPPFLAGS = -I${RWINLIB}/include \
6-
-DSTRICT_R_HEADERS
6+
PKG_CPPFLAGS = -I${RWINLIB}/include
77

88
PKG_LIBS = -L${RWINLIB}/lib${R_ARCH}${CRT} -lpng -lz
99

tools/winlibs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION <- "2.7.4"
1+
VERSION <- commandArgs(TRUE)
22
if(!file.exists(sprintf("../windows/harfbuzz-%s/include/png.h", VERSION))){
33
if(getRversion() < "3.3.0") setInternet2()
44
download.file(sprintf("https://github.com/rwinlib/harfbuzz/archive/v%s.zip", VERSION), "lib.zip", quiet = TRUE)

0 commit comments

Comments
 (0)