Blob Blame History Raw
diff -up mongo-cxx-driver-r3.3.1/src/bsoncxx/config/libbsoncxx.pc.in.paths mongo-cxx-driver-r3.3.1/src/bsoncxx/config/libbsoncxx.pc.in
--- mongo-cxx-driver-r3.3.1/src/bsoncxx/config/libbsoncxx.pc.in.paths	2018-09-12 13:55:16.091467339 +0200
+++ mongo-cxx-driver-r3.3.1/src/bsoncxx/config/libbsoncxx.pc.in	2018-09-12 13:56:14.720252443 +0200
@@ -12,9 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-prefix=@CMAKE_INSTALL_PREFIX@
-includedir=${prefix}/include
-libdir=${prefix}/lib
+includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
 
 Name: libbsoncxx
 Description: The MongoDB C++11 BSON Library
diff -up mongo-cxx-driver-r3.3.1/src/mongocxx/config/libmongocxx.pc.in.paths mongo-cxx-driver-r3.3.1/src/mongocxx/config/libmongocxx.pc.in
--- mongo-cxx-driver-r3.3.1/src/mongocxx/config/libmongocxx.pc.in.paths	2018-09-12 13:49:16.872657001 +0200
+++ mongo-cxx-driver-r3.3.1/src/mongocxx/config/libmongocxx.pc.in	2018-09-12 13:54:44.081038680 +0200
@@ -12,9 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-prefix=@CMAKE_INSTALL_PREFIX@
-includedir=${prefix}/include
-libdir=${prefix}/lib
+includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
 
 Name: libmongocxx
 Description: The MongoDB C++11 Driver Library