Add explicit -pthread to api.cpp
This commit is contained in:
2
Makefile
2
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: 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user