From 26a09f08cf1ed43c640879f23fdad56c5c9282f7 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:02:38 +0800 Subject: [PATCH] TODO#139884 Banner 1 文案調整 --- PAMapp/node_modules/deasync/binding.gyp | 47 +++++++++++++++++++++++++++++++++-------------- 1 files changed, 33 insertions(+), 14 deletions(-) diff --git a/PAMapp/node_modules/deasync/binding.gyp b/PAMapp/node_modules/deasync/binding.gyp index f04a6b9..281c53e 100644 --- a/PAMapp/node_modules/deasync/binding.gyp +++ b/PAMapp/node_modules/deasync/binding.gyp @@ -1,20 +1,39 @@ { - "targets": [{ - "target_name": "deasync", - "cflags!": [ "-fno-exceptions" ], - "cflags_cc!": [ "-fno-exceptions" ], - "xcode_settings": { "GCC_ENABLE_CPP_EXCEPTIONS": "YES", + "targets": [ + { + "target_name": "deasync", + "cflags!": [ + "-fno-exceptions" + ], + "cflags_cc!": [ + "-fno-exceptions" + ], + "xcode_settings": { + "GCC_ENABLE_CPP_EXCEPTIONS": "YES", "CLANG_CXX_LIBRARY": "libc++", - "MACOSX_DEPLOYMENT_TARGET": "10.7", + "MACOSX_DEPLOYMENT_TARGET": "10.7" }, "msvs_settings": { - "VCCLCompilerTool": { "ExceptionHandling": 1 }, + "VCCLCompilerTool": { + "ExceptionHandling": 1 + } }, - "sources": [ - "src/deasync.cc" - ], - "include_dirs": [ - "<!@(node -p \"require('node-addon-api').include\")", - ] - }] + "sources": [ + "src/deasync.cc" + ], + "include_dirs": [ + "<!@(node -p \"require('node-addon-api').include\")" + ], + "conditions": [ + [ + "OS=='linux'", + { + "ldflags": [ +# "-static-libstdc++", + ] + } + ] + ] + } + ] } -- Gitblit v1.8.0