firefox doesnt like slash at the end + nicer buildpath
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
#! nix-shell -i bash --pure
|
||||
#! nix-shell -p bash curl gcc zlib libffi icu77
|
||||
VERSION="140.4.0esr"
|
||||
DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz/"
|
||||
DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz"
|
||||
BUILDPATH=$(realpath .)
|
||||
mkdir bin
|
||||
|
||||
#debug stuff
|
||||
echo $VERSION
|
||||
@@ -21,7 +22,7 @@ cd "src/js/src"
|
||||
mkdir _build
|
||||
cd _build
|
||||
|
||||
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix=$BUILDPATH \
|
||||
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" \
|
||||
--with-intl-api --enable-optimize
|
||||
|
||||
make
|
||||
|
||||
Reference in New Issue
Block a user