From 4ba4f5a9bc5d89f5ccc6eead79994a3971ebabbf Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 15 Nov 2022 15:46:31 +0300 Subject: [PATCH] wscript: keep lib prefix only on selected platforms, e.g. Android --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 46017809..c4f85fae 100644 --- a/wscript +++ b/wscript @@ -175,7 +175,7 @@ def configure(conf): conf.env.append_unique('CXXFLAGS', ['-Wno-invalid-offsetof', '-fno-rtti', '-fno-exceptions']) # strip lib from pattern - if conf.env.DEST_OS in ['linux', 'darwin']: + if conf.env.DEST_OS not in ['android']: if conf.env.cshlib_PATTERN.startswith('lib'): conf.env.cshlib_PATTERN = conf.env.cshlib_PATTERN[3:] if conf.env.cxxshlib_PATTERN.startswith('lib'):