Going back with the configure.ac, removing the lib prefix to install in the default directories

This commit is contained in:
Hugo SOSZYNSKI 2017-11-10 11:10:58 +01:00
parent 5c221e3342
commit cdeb6d3685
2 changed files with 2 additions and 2 deletions

View File

@ -1793,7 +1793,7 @@ AC_ARG_ENABLE(ommongodb,
[enable_ommongodb=no]
)
if test "x$enable_ommongodb" = "xyes"; then
PKG_CHECK_MODULES([LIBMONGOC], [libmongoc],,)
PKG_CHECK_MODULES(LIBMONGOC, libmongoc-1.0)
fi
AM_CONDITIONAL(ENABLE_OMMONGODB, test x$enable_ommongodb = xyes)
# end of mongodb code

View File

@ -20,7 +20,7 @@ if [ "$DISTRIB_CODENAME" == "trusty" ] || [ "$DISTRIB_CODENAME" == "precise" ];
wget https://github.com/mongodb/mongo-c-driver/releases/download/1.8.1/mongo-c-driver-1.8.1.tar.gz
tar -xzf mongo-c-driver-1.8.1.tar.gz
cd mongo-c-driver-1.8.1/
./configure --prefix=/usr --libdir=/usr/lib64 --enable-ssl --disable-automatic-init-and-cleanup
./configure --enable-ssl --disable-automatic-init-and-cleanup
make -j
sudo make install
cd -