aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-29 17:24:36 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-29 17:24:36 -0700
commit3e34ab9ba69db752309e88562d9e0df778e43537 (patch)
tree510075245ee9366b9c6bdb9bcad09c1ef49c0f8a
parentfd223726a4069bd0e9bbaa17d6291ad56a79cfeb (diff)
define LDSHARED, useful in zlib configure
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 803059c0..c330926c 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -501,6 +501,7 @@ class Building:
env['CXX'] = EMXX if not WINDOWS else 'python %r' % EMXX
env['AR'] = EMAR if not WINDOWS else 'python %r' % EMAR
env['LD'] = EMCC if not WINDOWS else 'python %r' % EMCC
+ env['LDSHARED'] = EMCC if not WINDOWS else 'python %r' % EMCC
env['RANLIB'] = EMRANLIB if not WINDOWS else 'python %r' % EMRANLIB
#env['LIBTOOL'] = EMLIBTOOL if not WINDOWS else 'python %r' % EMLIBTOOL
env['EMMAKEN_COMPILER'] = Building.COMPILER