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 '(\
66
66
LANG=C /bin/bash ./debian/build_snapshot.sh && \
67
67
debc ../*.changes && \
68
68
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 )'
70
70
71
71
[ -e ./unstable-chroot/tmp/mongoc/example-client ] || (echo " Example was not built!" ; exit 1)
72
72
(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 '(\
98
98
LANG=C /bin/bash ./debian/build_snapshot.sh && \
99
99
debc ../*.changes && \
100
100
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 )'
102
102
103
103
[ -e ./unstable-i386-chroot/tmp/mongoc/example-client ] || (echo " Example was not built!" ; exit 1)
104
104
(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