diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-04-17 15:47:52 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-07-13 15:37:38 -0700 |
commit | e7f8355cff45162b81a9ab6e445c771766b878ed (patch) | |
tree | 5d8a340de431a8928c10ae26157299822a1429c3 /emcc | |
parent | 12217f783d7652b7a81b431793b78ce8da14eaa0 (diff) |
Look into system/local/include and system/local/lib too
Now one can do:
emconfigure ./configure --prefix=/path/to/emscripten/local
And then make install to there, like a real /usr/local. No
manual bitcode moving.
Now if there was a way to change default prefix of configure
using an env var...
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -542,7 +542,8 @@ try: input_files = [] has_source_inputs = False - lib_dirs = [shared.path_from_root('system', 'lib')] + lib_dirs = [shared.path_from_root('system', 'local', 'lib'), + 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 |