File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
bsoncxx/pkg-config/static
mongocxx/pkg-config/static Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ CXX_STANDARD=${CXX_STANDARD:-11}
13
13
rm -rf build/*
14
14
cd build
15
15
$CXX $CXXFLAGS -Wall -Wextra -Werror -std=" c++${CXX_STANDARD} " -c -o hello_bsoncxx.o ../../../hello_bsoncxx.cpp $( pkg-config --cflags libbsoncxx-static)
16
- $CXX $LDFLAGS -std=" c++${CXX_STANDARD} " -o hello_bsoncxx hello_bsoncxx.o $( pkg-config --libs libbsoncxx-static)
16
+ # TODO: remove `-pthread` once CDRIVER-4776 is resolved.
17
+ $CXX $LDFLAGS -pthread -std=" c++${CXX_STANDARD} " -o hello_bsoncxx hello_bsoncxx.o $( pkg-config --libs libbsoncxx-static)
17
18
./hello_bsoncxx
Original file line number Diff line number Diff line change @@ -15,5 +15,6 @@ CXX_STANDARD=${CXX_STANDARD:-11}
15
15
rm -rf build/*
16
16
cd build
17
17
$CXX $CXXFLAGS -Wall -Wextra -Werror -std=" c++${CXX_STANDARD} " -c -o hello_mongocxx.o ../../../hello_mongocxx.cpp $( pkg-config --cflags libmongocxx-static) $PKGCONFIG_EXTRA_OPTS
18
- $CXX $LDFLAGS -std=" c++${CXX_STANDARD} " -o hello_mongocxx hello_mongocxx.o $( pkg-config --libs libmongocxx-static) $PKGCONFIG_EXTRA_OPTS
18
+ # TODO: remove `-pthread` once CDRIVER-4776 is resolved.
19
+ $CXX $LDFLAGS -pthread -std=" c++${CXX_STANDARD} " -o hello_mongocxx hello_mongocxx.o $( pkg-config --libs libmongocxx-static) $PKGCONFIG_EXTRA_OPTS
19
20
./hello_mongocxx
You can’t perform that action at this time.
0 commit comments