Skip to content

Commit 160e587

Browse files
committed
Try to remove these flags for Wasm
1 parent d5a1da5 commit 160e587

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Makevars

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ LIBDIR = myrustlib/target/release
22
STATLIB = $(LIBDIR)/libmyrustlib.a
33
PKG_CFLAGS = -pthread
44
PKG_CPPFLAGS = -DSTRICT_R_HEADERS -DR_NO_REMAP
5-
PKG_LIBS = -L$(LIBDIR) -lmyrustlib -lresolv -pthread
5+
PKG_LIBS = -L$(LIBDIR) -lmyrustlib -pthread
66

77
all: cleanup
88

@@ -19,7 +19,6 @@ export CARGO_HOME=$(CARGOTMP)
1919
$(STATLIB):
2020
if [ -f myrustlib/vendor.tar.xz ]; then tar xf myrustlib/vendor.tar.xz && mkdir -p $(CARGOTMP) && cp myrustlib/vendor-config.toml $(CARGOTMP)/config.toml; fi
2121
PATH="${PATH}:${HOME}/.cargo/bin" cargo build ${CRANFLAGS} --release --manifest-path=myrustlib/Cargo.toml
22-
@$(STRIP_STATIC_LIB) $(STATLIB) || true
2322
@rm -Rf $(CARGOTMP) vendor || true # CRAN wants us to remove "detritus"
2423
@rm -Rf $(LIBDIR)/build || true
2524

0 commit comments

Comments
 (0)