rocksdb-native 3.6.0 → 3.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt CHANGED
@@ -1,4 +1,4 @@
1
- cmake_minimum_required(VERSION 3.25)
1
+ cmake_minimum_required(VERSION 3.31)
2
2
 
3
3
  find_package(cmake-bare REQUIRED PATHS node_modules/cmake-bare)
4
4
  find_package(cmake-fetch REQUIRED PATHS node_modules/cmake-fetch)
@@ -11,11 +11,6 @@ bare_target(target)
11
11
 
12
12
  fetch_package("github:holepunchto/librocksdb#2abcccb")
13
13
 
14
- if(TARGET c++)
15
- target_link_libraries(rocksdb PUBLIC c++)
16
- target_link_libraries(rocksdb_facebook PUBLIC c++)
17
- endif()
18
-
19
14
  add_bare_module(rocksdb_native_bare)
20
15
 
21
16
  target_sources(
@@ -35,14 +30,6 @@ target_link_libraries(
35
30
  path
36
31
  )
37
32
 
38
- if(target MATCHES "linux" AND NOT TARGET c++)
39
- target_link_options(
40
- ${rocksdb_native_bare}
41
- PUBLIC
42
- -static-libstdc++
43
- )
44
- endif()
45
-
46
33
  add_napi_module(rocksdb_native_napi)
47
34
 
48
35
  target_sources(
@@ -62,14 +49,6 @@ target_link_libraries(
62
49
  path
63
50
  )
64
51
 
65
- if(target MATCHES "linux")
66
- target_link_options(
67
- ${rocksdb_native_napi}
68
- PUBLIC
69
- -static-libstdc++
70
- )
71
- endif()
72
-
73
52
  resolve_node_module(bare-compat-napi compat)
74
53
 
75
54
  target_include_directories(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rocksdb-native",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
4
4
  "description": "librocksdb bindings for JavaScript",
5
5
  "exports": {
6
6
  ".": "./index.js",