Browse Source

package-updates: Update libstdc++ to v9

Key Networks 6 years ago
parent
commit
b197655aa1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      build/binding.gyp.patch
  2. 1 1
      build/build.sh

+ 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/8/libstdc++.a"],
++      "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/9/libstdc++.a"],
        "dependencies": ["libargon2"],
        "configurations": {
          "Debug": {

+ 1 - 1
build/build.sh

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