Update Makefile

This commit is contained in:
dobby33 2025-06-05 23:27:54 +03:00 committed by GitHub
parent 638ec8ca5e
commit 1b6c57edac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,9 +243,10 @@ QJS_LIB_OBJS=$(OBJDIR)/quickjs.o $(OBJDIR)/dtoa.o $(OBJDIR)/libregexp.o $(OBJDIR
QJS_OBJS=$(OBJDIR)/qjs.o $(OBJDIR)/repl.o $(QJS_LIB_OBJS)
HOST_LIBS=-lm -ldl -lpthread
HOST_LIBS=-lm -lpthread
LIBS=-lm -lpthread
ifndef CONFIG_WIN32
HOST_LIBS+=-ldl
LIBS+=-ldl
endif
LIBS+=$(EXTRA_LIBS)