node-sword-interface 1.0.51 → 1.0.52

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/binding.gyp CHANGED
@@ -102,6 +102,9 @@
102
102
  "dependencies": [
103
103
  "<!(node -p \"require('node-addon-api').gyp\")",
104
104
  'sword'
105
+ ],
106
+ 'ldflags': [
107
+ '-Wl,-z,max-page-size=16384'
105
108
  ]
106
109
  }],
107
110
  ["OS=='mac'", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-sword-interface",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "Javascript (N-API) interface to SWORD library",
5
5
  "keywords": [
6
6
  "C++",
@@ -75,6 +75,8 @@ if [ "$1" = "--android" ] ; then
75
75
  -DANDROID_NDK=$ANDROID_NDK_HOME \
76
76
  -DCMAKE_BUILD_TYPE=$SWORD_BUILD_TYPE \
77
77
  -DANDROID_ABI="$ANDROID_ABI" \
78
+ -DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,max-page-size=16384" \
79
+ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384" \
78
80
  -DNODYNCAST=1 \
79
81
  ../sword
80
82
  else