node-sword-interface 1.0.59 → 1.0.61

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.
Files changed (2) hide show
  1. package/binding.gyp +6 -3
  2. package/package.json +1 -1
package/binding.gyp CHANGED
@@ -71,7 +71,7 @@
71
71
  },
72
72
  {
73
73
  "target_name": "node_sword_interface",
74
- "type": "loadable_module",
74
+ "type": "shared_library",
75
75
  "cflags!": [ "-fno-exceptions" ],
76
76
  "cflags_cc!": [ "-fno-exceptions -std=c++11 -pthread" ],
77
77
  "sources": [
@@ -102,7 +102,9 @@
102
102
  "<!@(./scripts/get_sword_include_path.sh)"
103
103
  ],
104
104
  "libraries": [
105
- '<!@(./scripts/get_sword_library.sh "../sword_build/libsword.a")'
105
+ '<!@(./scripts/get_sword_library.sh "../sword_build/libsword.a")',
106
+ '-lbz2',
107
+ '-lz'
106
108
  ],
107
109
  "dependencies": [
108
110
  "<!(node -p \"require('node-addon-api').gyp\")",
@@ -113,7 +115,8 @@
113
115
  "IPHONEOS_DEPLOYMENT_TARGET": "13.0",
114
116
  "OTHER_LDFLAGS": [
115
117
  "-dynamiclib",
116
- "-install_name @rpath/node_sword_interface.framework/node_sword_interface"
118
+ "-install_name @rpath/node_sword_interface.framework/node_sword_interface",
119
+ "-undefined dynamic_lookup"
117
120
  ],
118
121
  "MACH_O_TYPE": "mh_dylib",
119
122
  "PRODUCT_TYPE": "com.apple.product-type.framework"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-sword-interface",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "description": "Javascript (N-API) interface to SWORD library",
5
5
  "keywords": [
6
6
  "C++",