The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
289 B
13 lines
289 B
5 years ago
|
#!/bin/sh -eu
|
||
|
|
||
|
curdir=`pwd`
|
||
|
rm -rf buildtmp
|
||
|
mkdir buildtmp
|
||
|
LDFLAGS=-static-libstdc++ ~/meson/meson.py buildtmp --buildtype=release --prefix=/tmp/myapp --libdir=lib --strip
|
||
|
ninja -C buildtmp install
|
||
|
rm -rf buildtmp
|
||
|
cd /tmp/
|
||
|
tar czf myapp.tar.gz myapp
|
||
|
mv myapp.tar.gz "$curdir"
|
||
|
rm -rf myapp
|