From 89c83afe4ef2df759d19d9b085d0e602cab43e41 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Mon, 9 Aug 2021 13:15:47 +0000 Subject: [PATCH] Add explicit -pthread to api.cpp --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d89bd15..4c952ea 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ libapi.mjs: api.o $(SYSROOT)/lib/libltdl.la $(SYSROOT)/lib/libgphoto2.la api.o: deps/libgphoto2/configure.ac api.o: CPPFLAGS += -Ideps/libgphoto2 -Ideps/libgphoto2/libgphoto2_port -api.o: CXXFLAGS += -std=c++17 -fexceptions +api.o: CXXFLAGS += -std=c++17 -fexceptions -pthread ## Generic rules for deps