We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9631aa9 commit 7ca9b15Copy full SHA for 7ca9b15
bindings/python/setup.py
@@ -88,7 +88,7 @@ def append_libbson_flags(module):
88
lib_path = os.path.join(lib_dir, bson_lib).replace(os.sep, "/")
89
if os.path.exists(lib_path):
90
module.extra_link_args = [lib_path]
91
- include_path = bson_lib.replace(".lib", "")
+ include_path = "libbson-1.0" if BSON_MAJOR_VERSION == 1 else "bson2"
92
include_dir = os.path.join(install_dir, "include", include_path).replace(
93
os.sep, "/"
94
)
0 commit comments