From 26d4df4e174124e1174c624d770661b1394fcf5f Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Mon, 5 Jul 2021 15:03:47 +0200 Subject: [PATCH] Fix JavaScript library suffix. Also add `.bc` files to `.gitignore` --- .gitignore | 1 + SConstruct | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 45094ba8..ce186c6d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ logs/* *.os *.so *.obj +*.bc *.pyc *.dblite *.pdb diff --git a/SConstruct b/SConstruct index cfb2e953..963ccfc0 100644 --- a/SConstruct +++ b/SConstruct @@ -397,7 +397,7 @@ elif env["platform"] == "javascript": # Program() output consists of multiple files, so specify suffixes manually at builder. env["PROGSUFFIX"] = "" env["LIBPREFIX"] = "lib" - env["LIBSUFFIX"] = ".bc" + env["LIBSUFFIX"] = ".a" env["LIBPREFIXES"] = ["$LIBPREFIX"] env["LIBSUFFIXES"] = ["$LIBSUFFIX"] env.Replace(SHLINKFLAGS='$LINKFLAGS')