parent
78fc8fcc43
commit
efbbcd3786
4 changed files with 24 additions and 1 deletions
@ -0,0 +1,12 @@ |
||||
#!/bin/sh |
||||
|
||||
curdir=`pwd` |
||||
rm -rf buildtmp |
||||
mkdir buildtmp |
||||
~/meson/meson.py buildtmp --buildtype=release --prefix=/tmp/myapp --libdir=lib |
||||
ninja -C buildtmp install |
||||
rm -rf buildtmp |
||||
cd /tmp/ |
||||
tar czf myapp.tar.gz myapp |
||||
mv myapp.tar.gz "$curdir" |
||||
rm -rf myapp |
@ -0,0 +1,7 @@ |
||||
#!/bin/sh |
||||
|
||||
libdir="${MESON_INSTALL_PREFIX}/lib" |
||||
mkdir -p $libdir |
||||
sdlfile=`ldd ${MESON_INSTALL_PREFIX}/bin/myapp | grep libSDL | cut -d ' ' -f 3` |
||||
cp $sdlfile "${libdir}" |
||||
strip "${libdir}/libSDL"* |
Loading…
Reference in new issue