Kaynağa Gözat

alma: Prepare for build on AlmaLinux 8 (#105)

key-networks 2 yıl önce
ebeveyn
işleme
0557b386a9
3 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      build/binding.gyp.patch
  2. 1 1
      build/build.sh
  3. 1 1
      src/package.json

+ 1 - 1
build/binding.gyp.patch

@@ -4,7 +4,7 @@
        ],
        ],
        "cflags+": ["-Wno-cast-function-type"],
        "cflags+": ["-Wno-cast-function-type"],
        "include_dirs+": ["<!(node -e \"require('nan')\")"],
        "include_dirs+": ["<!(node -e \"require('nan')\")"],
-+      "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a"],
++      "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++fs.a"],
        "dependencies": ["libargon2"],
        "dependencies": ["libargon2"],
        "configurations": {
        "configurations": {
          "Debug": {
          "Debug": {

+ 1 - 1
build/build.sh

@@ -26,7 +26,7 @@ BINDINGGYP='node_modules/argon2/binding.gyp'
 
 
 NODE_VER='v16'
 NODE_VER='v16'
 
 
-if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a ]; then
+if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++fs.a ]; then
   echo "You must install libstdc++-static"
   echo "You must install libstdc++-static"
   exit 1
   exit 1
 fi
 fi

+ 1 - 1
src/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "ztncui",
   "name": "ztncui",
-  "version": "0.8.10",
+  "version": "0.8.11",
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {
     "start": "node ./bin/www",
     "start": "node ./bin/www",