-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mongo-c-driver/libbson] update to 1.25.0 #34865
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,13 @@ | ||
diff --git a/src/libbson/CMakeLists.txt b/src/libbson/CMakeLists.txt | ||
index 88de79a..c3cfd7e 100644 | ||
index e3eaca4..ef3644b 100644 | ||
--- a/src/libbson/CMakeLists.txt | ||
+++ b/src/libbson/CMakeLists.txt | ||
@@ -347,7 +347,7 @@ if (ENABLE_EXAMPLES) | ||
endif () # ENABLE_EXAMPLES | ||
@@ -302,7 +302,7 @@ endif () # ENABLE_EXAMPLES | ||
# 8888888 888 888 88888P' "Y888 "Y888888 888 888 | ||
|
||
set (BSON_HEADER_INSTALL_DIR | ||
- "${CMAKE_INSTALL_INCLUDEDIR}/libbson-${BSON_API_VERSION}" | ||
+ "${CMAKE_INSTALL_INCLUDEDIR}" | ||
) | ||
|
||
if (MONGOC_ENABLE_STATIC_INSTALL) | ||
diff --git a/src/libbson/src/libbson-1.0.pc.in b/src/libbson/src/libbson-1.0.pc.in | ||
index b65abbc..33346f3 100644 | ||
--- a/src/libbson/src/libbson-1.0.pc.in | ||
+++ b/src/libbson/src/libbson-1.0.pc.in | ||
@@ -7,4 +7,4 @@ Name: libbson | ||
Description: The libbson BSON serialization library. | ||
Version: @VERSION@ | ||
Libs: -L${libdir} -lbson-@BSON_API_VERSION@ | ||
-Cflags: -I${includedir}/libbson-@BSON_API_VERSION@ | ||
+Cflags: -I${includedir} | ||
diff --git a/src/libbson/src/libbson-static-1.0.pc.in b/src/libbson/src/libbson-static-1.0.pc.in | ||
index 6ee58d0..e03a95b 100644 | ||
--- a/src/libbson/src/libbson-static-1.0.pc.in | ||
+++ b/src/libbson/src/libbson-static-1.0.pc.in | ||
@@ -7,4 +7,4 @@ Name: libbson static archive | ||
Description: The libbson BSON serialization library. | ||
Version: @VERSION@ | ||
Libs: -L${libdir} -lbson-static-@BSON_API_VERSION@ @LIBBSON_LIBRARIES@ | ||
-Cflags: -I${includedir}/libbson-@BSON_API_VERSION@ -DBSON_STATIC | ||
+Cflags: -I${includedir} -DBSON_STATIC | ||
function(install_export_target target) | ||
# Tell pkg-config where the headers are going: |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,13 @@ | ||
diff --git a/src/libmongoc/CMakeLists.txt b/src/libmongoc/CMakeLists.txt | ||
index 86f59ae..d108e5d 100644 | ||
--- a/src/libmongoc/CMakeLists.txt | ||
+++ b/src/libmongoc/CMakeLists.txt | ||
@@ -1172,7 +1172,7 @@ else () | ||
endif () | ||
|
||
set (MONGOC_HEADER_INSTALL_DIR | ||
- "${CMAKE_INSTALL_INCLUDEDIR}/libmongoc-${MONGOC_API_VERSION}" | ||
+ "${CMAKE_INSTALL_INCLUDEDIR}" | ||
) | ||
|
||
install ( | ||
diff --git a/src/libmongoc/src/libmongoc-1.0.pc.in b/src/libmongoc/src/libmongoc-1.0.pc.in | ||
index 1b489d8..991603e 100644 | ||
--- a/src/libmongoc/src/libmongoc-1.0.pc.in | ||
+++ b/src/libmongoc/src/libmongoc-1.0.pc.in | ||
@@ -8,4 +8,4 @@ Description: The libmongoc MongoDB client library. | ||
Version: @VERSION@ | ||
Requires: libbson-1.0 | ||
Libs: -L${libdir} -lmongoc-1.0 | ||
-Cflags: -I${includedir}/libmongoc-@MONGOC_API_VERSION@ | ||
+Cflags: -I${includedir} | ||
diff --git a/src/libmongoc/src/libmongoc-static-1.0.pc.in b/src/libmongoc/src/libmongoc-static-1.0.pc.in | ||
index d59ee64..c23bb62 100644 | ||
--- a/src/libmongoc/src/libmongoc-static-1.0.pc.in | ||
+++ b/src/libmongoc/src/libmongoc-static-1.0.pc.in | ||
@@ -8,4 +8,4 @@ Description: The libmongoc MongoDB client library. | ||
Version: @VERSION@ | ||
Requires: libbson-static-1.0 | ||
Libs: -L${libdir} -lmongoc-static-1.0 @MONGOC_LIBRARIES@ | ||
-Cflags: -I${includedir}/libmongoc-@MONGOC_API_VERSION@ -DMONGOC_STATIC | ||
+Cflags: -I${includedir}/libmongoc -DMONGOC_STATIC | ||
diff --git a/src/libmongoc/CMakeLists.txt b/src/libmongoc/CMakeLists.txt | ||
index 61cae9c..8d5e3f6 100644 | ||
--- a/src/libmongoc/CMakeLists.txt | ||
+++ b/src/libmongoc/CMakeLists.txt | ||
@@ -1250,7 +1250,7 @@ else () | ||
endif () | ||
|
||
set (MONGOC_HEADER_INSTALL_DIR | ||
- "${CMAKE_INSTALL_INCLUDEDIR}/libmongoc-${MONGOC_API_VERSION}" | ||
+ "${CMAKE_INSTALL_INCLUDEDIR}" | ||
) | ||
|
||
install ( |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libbson 1.25.0 supports an
ENABLE_SHARED
option. I suggest applying kevinAlbs@736861d to conditionally disable dynamic libbson.