From fa7f14ab66dd9e63aef13f16d76988422e871e5e Mon Sep 17 00:00:00 2001 From: patr0nus Date: Sun, 24 Oct 2021 15:19:28 +0800 Subject: [PATCH] Update static library path on linux --- scripts/postproc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postproc.py b/scripts/postproc.py index 9917503..ef8e2cf 100755 --- a/scripts/postproc.py +++ b/scripts/postproc.py @@ -36,7 +36,7 @@ def filterLibFile(filename): print('Striping', libFile.name) subprocess.check_call(['strip', '-x', os.path.join(libFolder, libFile.name)]) elif sys.platform == 'linux': - for dirname, _, basenames in os.walk(nodeSrcFolder + '/out/Release/obj'): + for dirname, _, basenames in os.walk(nodeSrcFolder + '/out/Release/obj.target'): for basename in basenames: if basename.endswith('.a') and filterLibFile(basename): subprocess.run(