File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11PKG_CPPFLAGS = -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE
2- PKG_LIBS = libquickjs.o
2+ # PKG_LIBS = libquickjs.o
33
44ifeq ($(OS),Windows_NT)
55 DLL := .dll
@@ -34,15 +34,15 @@ endif
3434
3535CPP_SOURCES = quickjsr.cpp init.cpp
3636SOURCES = $(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
4242build-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
You can’t perform that action at this time.
0 commit comments