Commit d11cd52d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

mozjs needs python 2 to for building - added temporary python 2

parent 419e4202
all:
all: python mozjs clean
mozjs:
dd if=/dev/zero of=swap bs=1048576 count=4096
chmod 600 swap
mkswap swap
......@@ -6,7 +8,7 @@ all:
tar xf mozjs-60.1.0.tar.bz2
mkdir -p mozjs-60.1.0/mozjs-build
cd mozjs-60.1.0/mozjs-build && SHELL=/bin/bash ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --enable-readline
cd mozjs-60.1.0/mozjs-build && PATH=/build/usr/bin:$$PATH SHELL=/bin/bash ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --enable-readline
$(MAKE) -C mozjs-60.1.0/mozjs-build SHELL=/bin/bash
strip --strip-debug mozjs-60.1.0/mozjs-build/js/src/build/libjs_static.a
strip --strip-debug mozjs-60.1.0/mozjs-build/js/src/build/libmozjs-60.so
......@@ -15,3 +17,9 @@ all:
swapoff swap
rm -rf swap
python:
$(MAKE) -C ../python temporary
clean:
$(MAKE) -C ../python clean
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment