Add explicit -pthread to api.cpp

This commit is contained in:
Ingvar Stepanyan
2021-08-09 13:15:47 +00:00
parent 61c2db8ae1
commit 89c83afe4e

View File

@@ -23,7 +23,7 @@ libapi.mjs: api.o $(SYSROOT)/lib/libltdl.la $(SYSROOT)/lib/libgphoto2.la
api.o: deps/libgphoto2/configure.ac api.o: deps/libgphoto2/configure.ac
api.o: CPPFLAGS += -Ideps/libgphoto2 -Ideps/libgphoto2/libgphoto2_port 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 ## Generic rules for deps