summaryrefslogtreecommitdiff
path: root/src/tools/wasm2js.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2020-06-02 14:39:27 -0700
committerGitHub <noreply@github.com>2020-06-02 14:39:27 -0700
commitf6b7f0018ca5ce604e94cc6cf50ee712bb7e9b27 (patch)
tree7ad488259b4a15dcf7f595ed906f5aeae196f5d8 /src/tools/wasm2js.cpp
parent88fcf614c69c64691df9101192e277629e9ca124 (diff)
downloadbinaryen-f6b7f0018ca5ce604e94cc6cf50ee712bb7e9b27.tar.gz
binaryen-f6b7f0018ca5ce604e94cc6cf50ee712bb7e9b27.tar.bz2
binaryen-f6b7f0018ca5ce604e94cc6cf50ee712bb7e9b27.zip
Link binaryen tools against the dylib (#2864)
When building the libbinaryen dynamic library, also link the binaryen tools against it. This reduces combined tool size on mac from 76M to 2.8M
Diffstat (limited to 'src/tools/wasm2js.cpp')
-rw-r--r--src/tools/wasm2js.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/wasm2js.cpp b/src/tools/wasm2js.cpp
index 7f3433bb7..34ceaf357 100644
--- a/src/tools/wasm2js.cpp
+++ b/src/tools/wasm2js.cpp
@@ -18,7 +18,6 @@
// wasm2js console tool
//
-#include "wasm2js.h"
#include "optimization-options.h"
#include "pass.h"
#include "support/colors.h"