aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-04-04 00:02:23 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-04-04 01:03:43 -0400
commit67055e21159e58c0e0f52f6dc6d77730faf2edd0 (patch)
tree1a23378a62fbfabdefe75dfa71e84c576a44fe7c /emcc
parentc6e2a28f69e7ece46b711eb87b80ab110ff889a8 (diff)
Add emscripten/system/lib to lib_dirs
So people can just drop bitcode libraries there and be found by emcc.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 4dfa3400..740bfe96 100755
--- a/emcc
+++ b/emcc
@@ -534,7 +534,7 @@ try:
input_files = []
has_source_inputs = False
- lib_dirs = []
+ lib_dirs = [shared.path_from_root('system', 'lib')]
libs = []
for i in range(len(newargs)): # find input files XXX this a simple heuristic. we should really analyze based on a full understanding of gcc params,
# right now we just assume that what is left contains no more |-x OPT| things