File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ sudo chroot ./unstable-chroot /bin/bash -c '(\
6666 LANG=C /bin/bash ./debian/build_snapshot.sh && \
6767 debc ../*.changes && \
6868 dpkg -i ../*.deb && \
69- gcc -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -o example-client src/libmongoc/examples/example-client.c -lmongoc-1.0 -lbson-1.0 )'
69+ gcc $(pkgconf --cflags bson2 mongoc2) -o example-client src/libmongoc/examples/example-client.c -lmongoc2 -lbson2 )'
7070
7171[ -e ./unstable-chroot/tmp/mongoc/example-client ] || (echo " Example was not built!" ; exit 1)
7272(cd ./unstable-chroot/tmp/ ; tar zcvf ../../deb.tar.gz * .dsc * .orig.tar.gz * .debian.tar.xz * .build * .deb)
@@ -98,7 +98,7 @@ sudo chroot ./unstable-i386-chroot /bin/bash -c '(\
9898 LANG=C /bin/bash ./debian/build_snapshot.sh && \
9999 debc ../*.changes && \
100100 dpkg -i ../*.deb && \
101- gcc -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -o example-client src/libmongoc/examples/example-client.c -lmongoc-1.0 -lbson-1.0 )'
101+ gcc $(pkgconf --cflags bson2 mongoc2) -o example-client src/libmongoc/examples/example-client.c -lmongoc2 -lbson2 )'
102102
103103[ -e ./unstable-i386-chroot/tmp/mongoc/example-client ] || (echo " Example was not built!" ; exit 1)
104104(cd ./unstable-i386-chroot/tmp/ ; tar zcvf ../../deb-i386.tar.gz * .dsc * .orig.tar.gz * .debian.tar.xz * .build * .deb)
You can’t perform that action at this time.
0 commit comments