Skip to content

Commit

Permalink
Merge pull request #657 from TomMD/update-lift-config
Browse files Browse the repository at this point in the history
Update Muse to Lift config and use sudo
  • Loading branch information
abkarcher authored Oct 1, 2021
2 parents 7ae2485 + ec8446c commit 5a52485
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .lift/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setup = ".lift/setup.sh"
build = "make"
3 changes: 1 addition & 2 deletions .muse/setup.sh → .lift/setup.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/usr/bin/env bash

if [ $(whoami) = "root" ]; then
apt update && apt install -y libssl-dev libcurl4-gnutls-dev
sudo apt update && sudo apt install -y libssl-dev libcurl4-gnutls-dev
fi

cd $1
sed -i 's/gcc_z_support=yes/gcc_z_support=no/' configure
sed -i 's/-z,noexecstack//' configure
./configure LIBS=-lcurl --with-libcurl-dir=/usr/lib/x86_64-linux-gnu/
2 changes: 0 additions & 2 deletions .muse/config

This file was deleted.

0 comments on commit 5a52485

Please sign in to comment.