summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-05 15:03:47 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-05 15:47:49 +0200
commit26d4df4e174124e1174c624d770661b1394fcf5f (patch)
treecf97cc3e94a77f88b1370cb919c4a374c618eb14 /SConstruct
parentdbf3a13d0faad856726b96942425e08618aa89d3 (diff)
downloadredot-cpp-26d4df4e174124e1174c624d770661b1394fcf5f.tar.gz
Fix JavaScript library suffix.
Also add `.bc` files to `.gitignore`
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index cfb2e95..963ccfc 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')