Skip to content

Commit 2c3da62

Browse files
committed
alt
1 parent b8ffa5b commit 2c3da62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Makevars

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_CPPFLAGS = -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE
2-
PKG_LIBS = libquickjs.o
2+
#PKG_LIBS = libquickjs.o
33

44
ifeq ($(OS),Windows_NT)
55
DLL := .dll
@@ -34,15 +34,15 @@ endif
3434

3535
CPP_SOURCES = quickjsr.cpp init.cpp
3636
SOURCES = $(CPP_SOURCES)
37-
OBJECTS = $(CPP_SOURCES:.cpp=.o)
37+
OBJECTS = $(CPP_SOURCES:.cpp=.o) libquickjs.o
3838

3939
$(SHLIB): $(OBJECTS)
4040
$(OBJECTS): build-static
4141

4242
build-static:
4343
@mkdir -p ../inst/include/quickjs
4444
@cp $(wildcard quickjs/*.h) ../inst/include/quickjs
45-
$(R_CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -funsigned-char -std=gnu11 -c libquickjs.c
45+
# $(R_CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -funsigned-char -std=gnu11 -c libquickjs.c
4646
# @mkdir -p ../inst/lib/$(R_ARCH)
4747
# $(AR) -rs ../inst/lib/$(R_ARCH)/libquickjs.a libquickjs.o
4848

0 commit comments

Comments
 (0)