node-sword-interface 1.0.35 → 1.0.37

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
@@ -127,9 +127,6 @@
127
127
  ],
128
128
  "libraries": [
129
129
  '-l<(module_root_dir)/build/sword-build-win32/lib/sword.lib',
130
- '-l<(module_root_dir)/build/sword-build-win32/lib/icuuc.lib',
131
- '-l<(module_root_dir)/build/sword-build-win32/lib/icuin.lib',
132
- '-l<(module_root_dir)/build/sword-build-win32/lib/icudt.lib',
133
130
  '-l<(module_root_dir)/build/sword-build-win32/lib/libbz2.lib',
134
131
  '-l<(module_root_dir)/build/sword-build-win32/lib/liblzma.lib',
135
132
  '-l<(module_root_dir)/build/sword-build-win32/lib/libcurl_imp.lib',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-sword-interface",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Javascript (N-API) interface to SWORD library",
5
5
  "keywords": [
6
6
  "C++",
@@ -45,6 +45,8 @@ esac
45
45
  # BUILD
46
46
  mkdir -p sword_build
47
47
 
48
+ SWORD_BUILD_TYPE="Release"
49
+
48
50
  if [ "$1" = "--android" ] ; then
49
51
  git clone https://github.com/karlkleinpaste/biblesync.git
50
52
  git -C biblesync checkout 2.1.0
@@ -67,7 +69,7 @@ if [ "$1" = "--android" ] ; then
67
69
  cmake -DLIBSWORD_LIBRARY_TYPE=Static -DCMAKE_CXX_STANDARD=11 \
68
70
  -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
69
71
  -DANDROID_NDK=$ANDROID_NDK_HOME \
70
- -DCMAKE_BUILD_TYPE=Release \
72
+ -DCMAKE_BUILD_TYPE=$SWORD_BUILD_TYPE \
71
73
  -DANDROID_ABI="$ANDROID_ABI" \
72
74
  -DNODYNCAST=1 \
73
75
  ../sword
@@ -75,7 +77,8 @@ else
75
77
  # macOS & Linux
76
78
 
77
79
  cd sword_build
78
- cmake -DLIBSWORD_LIBRARY_TYPE=Static -DCMAKE_CXX_STANDARD=11 -DCMAKE_BUILD_TYPE=Debug \
80
+ cmake -DLIBSWORD_LIBRARY_TYPE=Static -DCMAKE_CXX_STANDARD=11 \
81
+ -DCMAKE_BUILD_TYPE=$SWORD_BUILD_TYPE \
79
82
  -DCMAKE_DISABLE_FIND_PACKAGE_ICU=TRUE \
80
83
  ../sword
81
84
  fi