Explorar el Código

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

key-networks hace 2 años
padre
commit
0557b386a9
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  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"],
        "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"],
        "configurations": {
          "Debug": {

+ 1 - 1
build/build.sh

@@ -26,7 +26,7 @@ BINDINGGYP='node_modules/argon2/binding.gyp'
 
 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"
   exit 1
 fi

+ 1 - 1
src/package.json

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